Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3790824
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:22:28+00:00 2026-05-19T12:22:28+00:00

This error according to the logs is caused by a 5-year old Perl script

  • 0

This error according to the logs is caused by a 5-year old Perl script that merely grabs data from MySQL via a simple SQL select and displays it.

It’s running on my dev machine which is MBP with 8GB of RAM running the stock Apache.

Once a while, once or twice a month, I get the following error for no apparent reason :

panic: memory wrap at /System/Library/Perl/5.10.0/CGI.pm line 4001.

Apache refuses to run the script again and only a reboot of the OS would make Apache relent. The OS says that there’s 3+ GB of free memory when it happens so it’s not a low memory issue. Luckily this doesn’t happen on the production Debian 5 server.

What’s a memory wrap? And what causes it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:22:29+00:00Added an answer on May 19, 2026 at 12:22 pm

    I hit this bug as well in a slightly different circumstance. PerlMonks, as ever, has just saved me probably days of work:

    http://www.perlmonks.org/?node_id=823389

    the problem lies in the way osx ties
    up other resources. a simple sleep
    will give the os time to close and
    open. restart or graceful will go in
    conflict.

    apachectl stop
    sleep 2
    apachectl start
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i get this error: Warning: Unknown: Your script possibly relies on a session side-effect
whats the problem of this code that i take the above error? TIA #includePositionInfo.h
I have a strange IE error, and all i can find on google is
I was trying to compile some C++ code in Xcode and I got this
I'm working on a Codeigniter application that can be accessed via Smartphones. The thing
I have a question regarding inheritance, so I will describe the scenario below: I
I have a Setup/Deployment project for my C# and attempting to delete a file
While attempting to populate the items in a ListView following the outcome of a
I've been struggling with for a couple of hours but I'm sure it's dead
Consider the following program: #include <iostream> #include boost/filesystem.hpp int main() { boost::filesystem::directory_entry d(test.txt); boost::filesystem::directory_entry

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.