[Bug 1265983] [NEW] php5 cli one instance/process limit

2014-01-04 Thread KnightMB
Public bug reported: # lsb_release -rd Description:Ubuntu 13.10 Release:13.10 php5-cli 5.5.3+dfsg-1ubuntu2.1 Ubuntu 13.10 32 bit PHP5-cli limits the user to one instance at a time. If another php5-cli script is started, it takes priority over the previous running script causing the

[Bug 1265983] Re: php5 cli one instance/process limit

2014-01-17 Thread KnightMB
Is there a setting that limits php-CLI to only one running instance? I couldn't find any documentation at php.net or a quick google search. But I can put together some sample code to demonstrate it. My bug report should have been a little more descriptive, but since this is the only distro I've

[Bug 1265983] Re: php5 cli one instance/process limit

2014-01-17 Thread KnightMB
3 Files (test1.php, test2.php, test3.php) I also have the same server with the issue running these live at http://timekoin.gets-it.net/test/ You can test them on the web server this way also. test1.php just does a 10 second count down. test3.php does a 10 second count down, but starts at 5 and

[Bug 1265983] Re: php5 cli one instance/process limit

2014-01-17 Thread KnightMB
I ran it in a test user account where the default shell was bash and the problem was still there. No errors produced on screen or logged anywhere. Anything else I can try? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in

[Bug 1265983] Re: php5 cli one instance/process limit

2014-01-17 Thread KnightMB
If you run php test3.php Runs, gives a process ID, etc. No errors being eaten by /dev/null on the screen or any log file for example. If you modify test2.php so any errors are easily visible, change exec(php test3.php /dev/null ); to exec(php test3.php ); Run test2.php again, the problem is

[Bug 1265983] Re: php5 cli one instance/process limit

2014-01-17 Thread KnightMB
I appreciate everyone trying to help. I do know the difference between the two, but your updated example still does not work. It will still freeze the current script until the former script finishes. The problem appears to be in with php-cli and how it is using the exec function. I don't expect