473,396 Members | 1,726 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,396 software developers and data experts.

I've Hit the Process Limit

My first post. Thanks in advance.

My ISP shut me down temporarily and told me in an e-mail message:

==========
The problem was that you had hit your process limit with perl processes spawned from the following script:
~/www/cgi-bin/cq/coins
You should check this script to make sure that it doens't spawn enough processes to tank your account again.
==========

I've been developing Perl code on the web since 1998 and never had this happen. Don't processes on the server kill themselves when they end? Do I have to do something special at the end of each script?

First few lines:
Expand|Select|Wrap|Line Numbers
  1. #!/usr/local/bin/perl -T
  2. use AnyDBM_File;
  3. use CGI::Carp qw(fatalsToBrowser);
  4. use CGI qw(:standard);
  5. require './lb_db.pl';          # databases
  6. require './lb_file.pl';        # file i/o
  7. &initialize_db ();
  8. &initialize_file ();
  9. .
  10. more stuff goes here
  11. .
  12. }
  13. subroutines go here
  14.  
Sep 1 '09 #1
6 1878
RonB
589 Expert Mod 512MB
Does the script make any calls using backticks, or the system function, or qx() operator, or open a pipe to another command?
Sep 1 '09 #2
Hi RonB -- None of those things are done. The most exotic I get is DBM hashes, flat file operations, and a call to the time() function. I don't know what backticks are, so I may be doing those and not know it. -- Unlike most of my sites, this one is actually getting traffic, about 150 visits per day. Maybe it's just the traffic load? I use flat file locks to do sharing of the DBM hashes. Hmmm. -- Paul R.
Sep 1 '09 #3
RonB
589 Expert Mod 512MB
150 hits per day is nothing.

The first place to start is to talk to you provider and find out the details of how many processes per day you're allowed and how may they counted the day that triggered the shutdown. You also want to clarify if the process count that they are referring to is the count of executions of the script (your 150 hit count) or of sub process that the script created.

I'd need to see your entire script to say if it's creating sub processes.
Sep 1 '09 #4
numberwhun
3,509 Expert Mod 2GB
I have to agree with Ron, we definitely need more information.

If I were you, I would contact the ISP and find out what limit exactly was hit and what the numbers were. That will at least give you an idea where they set their limits on things.

Regards,

Jeff
Sep 2 '09 #5
Thanks, guys. I have asked the ISP for more info, but got nothing of substance. It might be a fluke that will not happen again. It has never happened over the past 13 years.

The site is getting 150 visits per day, about 900 page views per day. But that's not even one script execution a minute. So I don't get it.

This is a great forum. Thanks!
Sep 5 '09 #6
numberwhun
3,509 Expert Mod 2GB
@statmatics
Yeah, that just seems weird to me. If they had such an incredibly low limit, how would they be able to host any major sites? Sounds like it might have just been a fluke. If it happens again, open a ticket with them to force them to look into why its happening.

Regards,

Jeff
Sep 5 '09 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: GTS | last post by:
Hi All, I am spawning a process from a service. The spawned process hungs for various reasons, (corrupted data, deadlock). I am expecting the process has to complete the task with in the...
22
by: Zen | last post by:
Hi, My production machine has 2G of memory, when aspnet_wp.exe goes up to about ~1.2G of memory usage, I start get out-of-memory exception. Other processes don't use as much memory and I added...
14
by: Harry Keck | last post by:
I have client side code that uses xmlhttp to make an asyncronous call to the server. This call really churns the server and can take a couple of minutes to finish. I have found that while this...
335
by: extrudedaluminiu | last post by:
Hi, Is there any group in the manner of the C++ Boost group that works on the evolution of the C language? Or is there any group that performs an equivalent function? Thanks, -vs
28
by: Jon Davis | last post by:
We're looking at running a memory-intensive process for a web site as a Windows service in isolation of IIS because IIS refuses to consume all of the available physical RAM. Considering remoting to...
8
by: Nehil | last post by:
When a process is started three segments are created : 1) Text. 2) Stack. 3) Data. The size of First two is fixed and their upperlimit is fixed by the compiler. (Plz correct if i'm wrong) Now...
4
by: Daniel | last post by:
is there some per-process-limit on memory in .net processes? is there any way to increase it? i keep getting System.OutOfMemoryException when my box has 8 gigs of unused memory.
5
by: Max2006 | last post by:
Hi, What is the limit for memory that a .NET process or AppDomain can use? Thank you, Max
4
by: =?Utf-8?B?U3ZlbiBXLg==?= | last post by:
Hi Newsgroup, I am developing a C# Windows Forms application that launches processes within a background worker.. The processes seem to have a memory limit of about 278mb. Some proccesses...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.