473,395 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

longtime-exec blocks other requests?

Hi,

i have a question. My PHP script calls a passthru (zip that creates a biiig
archive). This command can take a lot of time, perhaps 20 seconds or so. Is
the complete PHP engine on this server blocked for this time? If other users
call this script (oder other scripts), do they have to wait 20 seconds?

bye,
Frank
Jul 17 '05 #1
2 1710
No, unless you have a web server that can only handle one connection at a
time.

If a session is left open the user who made the request would be blocked,
however.

Uzytkownik "Frank Thorstens" <Fr************@gmx.de> napisal w wiadomosci
news:c2*************@ID-202045.news.uni-berlin.de...
Hi,

i have a question. My PHP script calls a passthru (zip that creates a biiig archive). This command can take a lot of time, perhaps 20 seconds or so. Is the complete PHP engine on this server blocked for this time? If other users call this script (oder other scripts), do they have to wait 20 seconds?

bye,
Frank


Jul 17 '05 #2
Hi,
No, unless you have a web server that can only handle one connection at a
time.
Ah, ok, i think this is not the case with normal Apache 1.x, right?
If a session is left open the user who made the request would be blocked,
however.


Hm, i'm not using sessions but is it possible that the same user is blocked
during its passthru execution though?

Thanks for your reply!

bye,
Frank
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Nicolas Fleury | last post by:
Hi all, The part of the Python community that doesn't like @decorators needs to unite behind an alternative syntax to propose to Guido. I suggest we use this thread to try to do it. If you...
3
by: Jay | last post by:
I previously posted this question under Visual Basic newsgroup, but was advised to re-post here. I'm hoping someone can help me solve an issue I'm having with VB.Net and Access 2000. Here's...
10
by: Matthieu Labour | last post by:
Hi, I want to use a c++ version of log4j. But there are 3 of them :log4cpp, log4cplus, log4cx. Whis one is the best ? Thank you
2
by: ghasem | last post by:
Dear mySQL community, I have once again turned to the user groups for a problem I cannot solve myself! Atually, I have read all I can from the newsgroups on this but I could not solve it myself....
1
by: mark | last post by:
In Access 2000 and 2002, I have created an import specification to import the fixed-width recordset below into an existing table. I am having strange problems with the import of the date and time...
6
by: Rebecca Smith | last post by:
Today’s question involves two time text boxes each set to a different time zone. Initially txtCurrentTime will be set to Pacific Time or system time. This will change with system time as we travel...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
2
by: Gujju | last post by:
Hi, IF i want to write a line at the same time in append mode how m i suppose to do. here is my code.... and this function may be called more then once at the same time.... and it works...
89
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be...
3
by: jordanbondo | last post by:
I have no clue why this isn't working. The top part that reads into size, shortTime, longTime, and threshold work fine. Down below where I try to do the exact same thing and read into x, i get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.