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 7711761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:27:29+00:00 2026-06-01T01:27:29+00:00

I have a VPS server with Ubuntu 11.10 64bit and sometimes when I execute

  • 0

I have a VPS server with Ubuntu 11.10 64bit and sometimes when I execute a subprocess.Popen command I get am getting too much this error:

OSError: [Errno 12] Cannot allocate memory

Config details:
For each site I have an apache site like this: http://pastebin.com/mcew79sH
And also a settings and a wsgi file (both on same folder than project) like this: http://pastebin.com/hrrV4WTM

I am passing the arguments to Popen constructor as a list and using close_fds=True, I am also using and stdin/stdout to communicate with PIPE for the ones which I need reading the response.

Finally this is the traceback I get when the error appears http://pastebin.com/FqXPHwhq

The server is serving about 25 sites with small traffic (probably 5 of them has a considerable daily use) my VPS RAM size is 1024MB all of them execute PostgreSQL databases.

All this started when we migrated the sites from a VPS running Ubuntu Server 10.10 32 Bit to 11.10 64Bit.

Any idea how to solve this?

—- EDIT —-

ps aux –> http://synsa.synsa.com/site_media/process.txt

  • 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-06-01T01:27:30+00:00Added an answer on June 1, 2026 at 1:27 am

    Well that’s easy. Sounds like it’s time to upgrade your vps or scale back the memory settings of postgres/apache/etc and take the resulting performance hit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a new VPS server, and I'm trying to get it to connect
I have Ubuntu 8.04 running on a Xen based VPS server that runs on
I have a ubuntu lucid VPS server where I try to run my django
I have a VPS Linux Server with this environment: rvm + ror + ngixn
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
This server runs on Ubuntu 10.04, particularly on Linode VPS. Passenger Error: A source
I have Apache 2 running on a VPS server (running Debian). I recently changed
I have VPS with 1GB of RAM. One ruby-app that runs on thin server
I have a php mail script sitting on a LAMP vps server. The script
I have a Windows Server 2003 64-Bit VPS, and I'm experiencing a problem with

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.