Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Is it normal for minivend to spawn several processes? (a BSD issue?)



******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******

Christopher Thompson wrote:
> 
> I noticed seeing multiple copies of minivend and the CGI script in my
> process table during a DOS type attack recently. I had to take the catalog
> offline until I blocked the IP address because it would gradually fill up
> the process table with minivend and the CGI script processes (FreeBSD).
> The catalog does not use frames (I noted you mentioned that). Is what
> happens when the system gets overwhelmed with minivend requests?
> 

In my case, there was only one request, and minivend created 4 copies of
itself totally more than 60 megs. Something about having relatively low
memory on the machine may haver initiated a problem, but creating 4
processes for one request didn't seem appropriate to me (regardless).
I'm speaking here without knowing the internals of minivend (or what
might be practical), but perhaps this was a case where threading may
have been more appropriate than forking? 
   I'm just wondering aloud here. I have only a vague idea of how to
program threads in perl, and probably don't understand a number of
important issues involved here. 

    -mark

  <<-------------------------------------------------------------->>
personal website                <    Summersault Website Design
   http://mark.stosberg.com/     >       http://www.summersault.com/
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: