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

KnightMB knightmb at timekoin.org
Sat Jan 4 08:16:17 UTC 2014


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 previous to "freeze" until the new running script finishes
or exits. This isn't the normal behavior of the php5-cli as it should
not care how many scripts you are running at once. I've never seen this
behavior before, seems to be unique to only the Ubuntu distro family.

How to duplicate.
Create a script that loops a lot or does a lot of complex math to cause a good few seconds delay while it processes. Create another script (or copy/paste the first one) by a different file name. Try to run both scripts at the same time (you'll need two console sessions to do it) and the last executed script will freeze the first script until it finishes, then the first script will be allowed to process and finish.

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1265983

Title:
  php5 cli one instance/process limit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1265983/+subscriptions



More information about the Ubuntu-server-bugs mailing list