Score:0

Python script called from url on apache 2.2 server is only sometimes executed

ng flag

I'm a bit stumped. I have a server here, where a python (2) script is called through an url via apache 2.2.

For example http://blabla.com/script.py?manyarguments

I got some reports that often the connection has to be restarted until it works. So I checked the script and the httpd service. I added a line to the script to create a custom file as soon as it starts. So only calling the script should generate this log file.

Whenever the connection is not working the script is indeed not called, no log file is generated. But the httpd log shows that the connection was established.

My first thought was that maybe some connection limit is reached, but the number in the httpd conf file seems to be high enough.

I don't have much experience with apache servers. So does somebody have an idea why a connection is established, but the script not called?

Thanks

rvs avatar
vn flag
rvs
Please collect more information: Are there any errors in apache logs? What about cpu/memory/disk usage? Is there anything else you may share which is relevant?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.