typicode / katon

(use hotel instead)
https://github.com/typicode/hotel
MIT License
683 stars 28 forks source link

Katon + PHP integration issue #46

Closed whatyoubendoing closed 10 years ago

whatyoubendoing commented 10 years ago

When running a symfony2 site over the php built in web server after about 10 requests I get the following error

Warning: Unknown: failed to open stream: Too many open files in Unknown on line 0

When I do a lsof -p on the php process i get a 500+ similar to -

php   2353 $USER  368u  IPv4 0xd28da1814874ee0b       0t0      TCP localhost:58215->localhost:etlservicemgr (CLOSED)

php     2353 $USER  369u  IPv4 0xd28da18142565fab       0t0      TCP localhost:58239->localhost:etlservicemgr (CLOSED)

php     2353 $USER  370u  IPv4 0xd28da18141a5353b       0t0      TCP localhost:58259->localhost:etlservicemgr (CLOSED)

php     2353 $USER  371u  IPv4 0xd28da18141a51acb       0t0      TCP localhost:58261->localhost:etlservicemgr (CLOSED)

Defiantly an issue to how katon is running the php process as it doesn't seem to happen when I run the php server from the command line.

typicode commented 10 years ago

Do you have the issue with a fresh symfony2 project?

typicode commented 10 years ago

Also if you can provide some simple steps to install symfony and reproduce, I'd really appreciate. I'm not very familiar with PHP development/installation.

whatyoubendoing commented 10 years ago

Ah - was something to do with my PHP. Worked fine on my home computer. Rebuilt php on my work computer and now its working fine!

typicode commented 10 years ago

Cool :+1: