Archived

This forum has been archived. Please start a new discussion on GitHub.

Limiting subscribers to IceStorm

Is this possible via configs?

There was a bug in one of our servers that would subscribe to a topic but never unsubscribe. We recognized it a few weeks ago, but still hadn't gotten everything updated - however, it wasn't critical because the program in question is restarted rather infrequently.

However, due to some hardware being removed, one of the servers in question was unable to run, so it would constantly start/stop/restart hundreds of times a second, always subscribing each time it restarted.

Eventually, after 6 hours or so, the IceStorm server would crap out:

[ 08/19/08 06:00:42.358 EventServer: Berkeley DB: DbEnv "IceStorm": Lock table is out of available locks ]
08/19/08 06:00:42.388 EventServer: error: fatal exception: MapI.cpp:470: Freeze::DatabaseException:
Dbc::get: Cannot allocate memory
*** Aborting application ***

And restart itself, taking down some of the networked apps in the process.

Just curious if there's a way to limit a total number of subscribers, or something else, to keep a rogue process from overloading IceStorm with subscriptions.

Thanks,
Caleb

Comments

  • matthew
    matthew NL, Canada
    Sorry, other than by using SSL, or some external firewall, there is no way to do that.