We have again problems with our shared-memory area in xmid. It looks like php is not able to defend multiple write actions to the same mem-area at the same time. We are working on a solution, but until then you can "reset" the shm-part of apache by: 1. ssh into reported xmid web-server 2. sudo ipcs -m | grep apache will return something like: 0x41400290 1 apache 666 20480 0 0x41400068 4 apache 666 20480 0 for every row: 3. ipcrm -M "shm-block" root@web01.app /dev/shm # ipcrm -M 0x41400290 root@web01.app /dev/shm # ipcrm -M 0x41400068 4. success! Afterwards accounting should work until next crash (: See you, Felix -- Mit freundlichen Grüßen Felix Seidel - Lead Developer xMid - ________________________________________________________ TraSo GmbH Nonnenstraße 42 D-04229 Leipzig Tel: +49 341 355 740 47 E-Mail: f.seidel@traso.de Internet: https://www.traso.de ________________________________________________________ Geschäftsführer: Haiko Gerdes Handelsregister: Amtsgericht Leipzig, HRB 21850
Short morning exercise - one liner for "resetting“ the shm-part of apache: ipcs -m | awk '/ apache /{system("ipcrm -M "$1)}' Have a good day, Gunnar -- Mit freundlichen Grüßen Gunnar Mann - Systemadministration - ________________________________________________________ TraSo GmbH Nonnenstraße 42 D-04229 Leipzig Tel.: +49 341 355 740 76 Fax: +49 341 355 740 21 E-Mail: g.mann@traso.de <mailto:g.mann@traso.de> <https://www.traso.de/> <https://www.facebook.com/TraSoGmbH> <https://www.xing.com/companies/trasogmbh> ________________________________________________________ Geschäftsführer: Haiko Gerdes Handelsregister: Amtsgericht Leipzig, HRB 21850 <https://www.kununu.com/de/traso1> ________________________________________________________ Geschäftsführer: Haiko Gerdes Handelsregister: Amtsgericht Leipzig, HRB 21850 <https://www.kununu.com/de/traso1>
Am 05.10.2020 um 14:58 schrieb Felix Seidel <f.seidel@traso.de>:
We have again problems with our shared-memory area in xmid. It looks like php is not able to defend multiple write actions to the same mem-area at the same time.
We are working on a solution, but until then you can "reset" the shm-part of apache by:
1. ssh into reported xmid web-server 2. sudo ipcs -m | grep apache will return something like: 0x41400290 1 apache 666 20480 0
0x41400068 4 apache 666 20480 0 for every row: 3. ipcrm -M "shm-block" root@web01.app /dev/shm # ipcrm -M 0x41400290 root@web01.app /dev/shm # ipcrm -M 0x41400068
4. success!
Afterwards accounting should work until next crash (:
See you, Felix
-- Mit freundlichen Grüßen
Felix Seidel - Lead Developer xMid - ________________________________________________________ TraSo GmbH
Nonnenstraße 42 D-04229 Leipzig Tel: +49 341 355 740 47
E-Mail: f.seidel@traso.de Internet: https://www.traso.de
________________________________________________________ Geschäftsführer: Haiko Gerdes Handelsregister: Amtsgericht Leipzig, HRB 21850 _______________________________________________ Entwicklung mailing list Entwicklung@lists.traso.de https://lists.traso.de/listinfo/entwicklung
participants (2)
-
Felix Seidel -
Traso g.mann