[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Any issues with multiple processes on cgis?



Does anyone know if there is a potential problem with a cgi perl script
opening a dbm file  due to possible multiple simultaneous users?

I think the basic question is, is it possible to get multiple instances of
the same Perl script trying to open the same file, or do scripts run to
completion before another web request can be processed? (Or is this server
dependent?  I develop on Mac but scripts run on Unix).

I'm using dbm files that the scripts use read-only, but I have to give
read/write permission to get them to open successfully on the server I'm
running on. I'm worried about collisions if two instances of the same
script get running simultaneously.

--John Springer
 _______________________________________________________________________
 |        Can you use a creative, Internet-savvy marketing guy?        |
 |      Check Me Out at <http://www.scruznet.com/~springer/HireMe>     |
 |                                                                     |
 | [This Space Paid For by the California Employment Development Dept] |
 |_____________________________________________________________________|