Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #344
Closed
Open
Created Oct 11, 2006 by Trac@tracbot

tor terminates when running out of memory

I am running a tor 0.1.1.24-1~~sarge.1 server on a virtual server (OpenVZ). One thing about OpenVZ is that the amount of memory available to the virtual machine varies all the time. The server shuts down when it runs out of memory:

Logfile entry: Oct xx xx:xx:xx.xxx [err] _tor_realloc(): Out of memory. Dying.

I would like tor to keep running when it runs out of memory - perhaps it can just close a few connections, stop accepting new connections for a while, discard some buffers etc?

Tor terminating because it runs out of memory is not listed at http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#head-43d0c843cb6c453ad1231c48c11196a46fae9540 so I think perhaps this is a bug?

[Automatically added by flyspray2trac: Operating System: Other Linux]

Trac:
Username: sn

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking