Page 1 of 1

Ubuntu disco->eoan breakages (lots of apache processes)

Posted: Mon May 11, 2020 7:33 pm
by dashie
I have recently updated my server from disco to eoan and I'm now experiencing issues.

ZM is 1.35.3~20200508090613-eoan, apache 2.4.41-1ubuntu1 and php 7.3.

When I start ZMNinja sometimes I get a lot of apache process created (easily 40+ish), with nph-zms as child.
Sometimes my bdd got saturated from connections and I see a lot of apache processes with zmu as child, pkill zmu "fix" the issue until it explodes again.

Any ideas what could be wrong here ? I've tried purging apache2, reinstalling with default zm config, didn't helped.

The only thing I see is from time to time, a bunch of:

Code: Select all

[Mon May 11 21:29:32.504522 2020] [cgi:warn] [pid 26116] [client 192.168.10.1:0] AH01220: Timeout waiting for output from CGI script /usr/lib/zoneminder/cgi-bin/nph-zms
which frees the number of apache processes.

Re: Ubuntu disco->eoan breakages

Posted: Wed May 13, 2020 5:39 pm
by gisforgirard
i think i have some kind of related thing going on here, definitely related to the # of apache processes spawned, and it only seems to happen when i launch zmninja, immediately locks my server up and freezes mysql too it seems like...

after i close zmninja:
closed zmninja
closed zmninja
Screenshot from 2020-05-13 13-35-13.png (23.19 KiB) Viewed 3109 times
and when i open zmninja again:
opened zmninja
opened zmninja
Screenshot from 2020-05-13 13-38-10.png (22.32 KiB) Viewed 3109 times
mind you, i have zoneminder open in the 'montage' page in firefox the entire time and this doesn't happen, not sure what is going on here, not much appearing in the logs or anything...

only difference is i'm running focal instead of eoan or disco, i'm still using php7.3 though, i had to manually hold a bunch of packages because focal now has php 7.4 as default and it breaks compatibility with a bunch of stuff still so that's gonna have to wait

Re: Ubuntu disco->eoan breakages

Posted: Wed May 13, 2020 6:29 pm
by dashie
Yes same, OK with montage, and zmninja makes everything explode.

I wonder if that could be an issue with php 7.3, since I was on 7.2 before (and no issue), and my apache config was default with zoneminder too.

Re: Ubuntu disco->eoan breakages (lots of apache processes)

Posted: Sun May 17, 2020 11:18 am
by dashie
fwiw, I've upgraded to focal. and switched to php 7.4 and the spawn of processes still seems to occurs.

Re: Ubuntu disco->eoan breakages (lots of apache processes)

Posted: Wed Jun 03, 2020 7:21 pm
by dashie
I've updated zm through do_debian_package.sh a few days ago (27 may) and I can't reproduce the issue anymore.
might be worth a try if running on master.