[Systems] Apache stalled on sunjammer today

Sebastian Silva sebastian at fuentelibre.org
Fri Jul 17 23:36:52 EDT 2015


Apache error.log was reporting:
[Fri Jul 17 10:14:00 2015] [emerg] (22)Invalid argument: couldn't grab 
the accept mutex

And apache services were down. It was refusing to restart itself.

I asked Bernie and he  told me "looks like we ran out of semaphores..."

So i learned the icps command.

$ sudo ipcs -s

------ Semaphore Arrays --------
key        semid      owner      perms      nsems
0x002fa327 32769      root       666        2
0x0052e2c1 348618763  postgres   600        17
0x0052e2c2 348651532  postgres   600        17
0x0052e2c3 348684301  postgres   600        17
0x0052e2c4 348717070  postgres   600        17
0x0052e2c5 348749839  postgres   600        17
0x0052e2c6 348782608  postgres   600        17
0x0052e2c7 348815377  postgres   600        17
0x0052e2c8 348848146  postgres   600        17
0x0052e2c9 348880915  postgres   600        17
0x0052e2ca 348913684  postgres   600        17
0x0052e2cb 348946453  postgres   600        17
0x0052e2cc 348979222  postgres   600        17
0x0052e2cd 349011991  postgres   600        17

So I restarted postgres database and after that, apache was able to 
restart.

Sunjammer is running a lot of stuff, I also notice buildbot using a lot 
of memory, is it under use?

Do we need 2 databases? mysql and postgres are running...

Perhaps it would be nice to purge sunjammer of unneeded services?

Thanks Bernie for expert advice.

Regards,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/private/systems/attachments/20150717/ae104a66/attachment.html>


More information about the Systems mailing list