[Systems] Apache stalled on sunjammer today
Bernie Innocenti
bernie at codewiz.org
Sat Jul 18 00:47:31 EDT 2015
Nice, let's kill buildbot then.
As for postgresql + mysql: unfortunately, mysql is used by a lot of
stuff and postgres is a hard requirement for mirrorbrain, which needs a
a special geolocation index not supported by mysql.
On 17/07/15 23:44, Sam P. wrote:
> Hi Sebastian,
>
> We don't need buildbot running for sure - it hasn't had any bots running
> for maybe even 12 months.
>
> We only use buildbot for rebuilding developer.slo - but I can replace
> that with something like the help rebuilder [1] and move that over to
> freedom.
>
> Thanks,
> Sam
>
> [1] https://github.com/sugarlabs-infra/help-rebuilder
>
> On Sat, Jul 18, 2015 at 1:37 PM Sebastian Silva
> <sebastian at fuentelibre.org <mailto:sebastian at fuentelibre.org>> wrote:
>
> 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
> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org <mailto:Systems at lists.sugarlabs.org>
> http://lists.sugarlabs.org/listinfo/systems
>
>
>
> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
>
--
_ // Bernie Innocenti
\X/ http://codewiz.org
More information about the Systems
mailing list