Can you supply the full log messages below from Apache error log with any prefixes so I can identify what output them.
The mod_wsgi code does emit a message "Python has shutdown", but doesn't emit a message "Connection closed to child with abortive shutdown". So is important that can see the full log messages include any date/time stamp and prefixes. Any other messages around that time would also be useful. If I had to guess, you are using some third party package for Python which assumes that if it has an internal error message that it can force a process shutdown using a signal or call of C level exit() function. Also, although you see the messages "Resource temporarily unavailable" are they transient and after a moment requests start to be processed again? > On 19 Oct 2023, at 10:01 am, Darshan Patil <darshankpa...@gmail.com> wrote: > > Hi, > > I have my apache server where I am using mod_wsgi to run python endpoints > which serve images from the server. There are lot of requests hitting the > server and I started seeing errors like following: > > Python has shutdown. > > Connection closed to child with abortive shutdown. > > Resource temporarily unavailable: mod_wsgi (pid=1211): Unable to connect to > WSGI daemon process 'app' on '/run/httpd/wsgi.10.0.1.sock' after multiple > attempts as listener backlog limit was exceeded or the socket does not exist. > > I am not sure what is going on here, can anybody has clue what the problem > could be? And how can I scale with mod_wsgi and python. > > Thanks, > Darshan > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to modwsgi+unsubscr...@googlegroups.com > <mailto:modwsgi+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/e800f19c-3946-4749-8464-96364ddba0ccn%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/e800f19c-3946-4749-8464-96364ddba0ccn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/F88CF216-24C5-49DA-9333-CE271AE1FE02%40gmail.com.