Ask a Question related to PHP Bugs, Design and Development.
-
wisans at gmail dot com #1
#40008 [NEW]: lock file
From: wisans at gmail dot com
Operating system: window xp
PHP version: 5.2.0
PHP Bug Type: Performance problem
Bug description: lock file
Description:
------------
host a call a.php and open new ie call b.php
(this action make b.php wait for a.php success because it
use same sessionid not problem, when socket_timeout it make a.php end and
b.php end)
problem is host b open b.php it wait for b.php on host a success
Reproduce code:
---------------
a.php
<?php
session_start();
$url = "http://192.168.4.199/ar_master.php";
fopen($url,"r");
?>
b.php
<?php
session_start();
$ip = "192.168.1.37";
$ret = shell_exec ("$cmdName $argName $ip");
echo "HELLO---->".rand(1,20000);
?>
--
Edit bug report at [url]http://bugs.php.net/?id=40008&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40008&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40008&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40008&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40008&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40008&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40008&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40008&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40008&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40008&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40008&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40008&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40008&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40008&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40008&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40008&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40008&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40008&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40008&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40008&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40008&r=mysqlcfg[/url]
wisans at gmail dot com Guest
-
lock file
Using Contribute version 3. Drafts erased prior to publishing and now unable to edit. Receive error message stating that someone else is editing... -
Cannot Lock aspx File
When I click on the Edit Page button, I receive the following error: Cannot lock the page to prevent other users from editing it. Please try... -
Anyone else have a file lock problem?
We have a problem with File Locks on systems with Illustrator 10 or CS installed on them. It is intermittent so it has been a problem to isolate.... -
Best way to lock and open a file
I have a single line file where the line will be read and updated each time it is opened. My question is I need to open it with a lock so noone... -
File Lock
How can we know when a file is locked using flock system call in linux. Thanks -
iliaa@php.net #2
#40008 [Opn->Bgs]: lock file
ID: 40008
Updated by: [email]iliaa@php.net[/email]
Reported By: wisans at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Performance problem
Operating System: window xp
PHP Version: 5.2.0
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]
..
Previous Comments:
------------------------------------------------------------------------
[2007-01-03 11:05:28] wisans at gmail dot com
Description:
------------
host a call a.php and open new ie call b.php
(this action make b.php wait for a.php success because it
use same sessionid not problem, when socket_timeout it make a.php end
and b.php end)
problem is host b open b.php it wait for b.php on host a success
Reproduce code:
---------------
a.php
<?php
session_start();
$url = "http://192.168.4.199/ar_master.php";
fopen($url,"r");
?>
b.php
<?php
session_start();
$ip = "192.168.1.37";
$ret = shell_exec ("$cmdName $argName $ip");
echo "HELLO---->".rand(1,20000);
?>
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40008&edit=1[/url]
iliaa@php.net Guest
-
wisans at gmail dot com #3
#40008 [Bgs]: lock file
ID: 40008
User updated by: wisans at gmail dot com
Reported By: wisans at gmail dot com
Status: Bogus
Bug Type: Performance problem
Operating System: window xp
PHP Version: 5.2.0
New Comment:
host b call b.php not have any dependency b.php that call by host a,
so i think it should not wait for host b.php success on on host a.
if i comment line shell_exec , host b can run b.php without any
problem.
while shell_exec i test command shell_exec("dir");
i test this problem on freeBSD it does not any problem.
if i should read manual what chapter i read ? .
thank you very much.
Previous Comments:
------------------------------------------------------------------------
[2007-01-04 02:15:58] [email]iliaa@php.net[/email]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]
..
------------------------------------------------------------------------
[2007-01-03 11:05:28] wisans at gmail dot com
Description:
------------
host a call a.php and open new ie call b.php
(this action make b.php wait for a.php success because it
use same sessionid not problem, when socket_timeout it make a.php end
and b.php end)
problem is host b open b.php it wait for b.php on host a success
Reproduce code:
---------------
a.php
<?php
session_start();
$url = "http://192.168.4.199/ar_master.php";
fopen($url,"r");
?>
b.php
<?php
session_start();
$ip = "192.168.1.37";
$ret = shell_exec ("$cmdName $argName $ip");
echo "HELLO---->".rand(1,20000);
?>
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40008&edit=1[/url]
wisans at gmail dot com Guest



Reply With Quote

