#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    73
    Rep Power
    15
    Hi guys,
    I was programming a script (doing only open & closing files)
    And got that error:
    Connection Timed out
    and nothing more detailed than that!

    Could you guys tell me where does the error come from?
    I use some "require"'s. But even when I changed the script so that don't need require, it still has the same error.
    Oh, and the error only happens when the user enables around 3,4+ checkboxes (1 checkbox = reading file)
    Please help! I've tried the script several ways trying to determine the problem, but none worked!



    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Try to run it from command line and see what happen.

    Then start here -> http://www.apache.org/docs/mod/core.html#rlimitcpu

    i.e.
    RLimitCPU 120 120

    You should also find out why your script is taking too much time.
    I had written a script which grabs 2000+ files from different sites and check for particular tags, then do some filtering and sorting, then store it in file as well as displaying the output to screen. "RLimitCPU 60 60" is doing fine.

IMN logo majestic logo threadwatch logo seochat tools logo