Results 1 to 2 of 2
  1. #1
    leptogenesis is offline Member
    Join Date
    Jan 2012
    Rep Power

    Default limit session creation

    I'm having a pretty ridiculous problem. I'm using a Tomcat server, and there's a crawler elsewhere on my LAN (which I have no control over). This crawler will occasionally try to crawl my site, which contains tens of thousands of pages. The crawler doesn't handle cookies, and so every time it requests a page, Tomcat creates a new session. The end result is that tens of thousands of sessions can get created very rapidly; the server doesn't have much RAM, so this run the server out of memory and bring it to its knees.

    Is there any way to limit the number of sessions that can be created on Tomcat? Better yet, is there a way to limit the number of sessions created for a single IP address?

  2. #2
    sabhandari is offline Member
    Join Date
    Jan 2011
    Rep Power

Similar Threads

  1. Replies: 1
    Last Post: 04-21-2009, 11:20 PM
  2. Replies: 1
    Last Post: 03-10-2009, 02:12 PM
  3. Can you Limit JSpinners??
    By ashton in forum New To Java
    Replies: 1
    Last Post: 02-09-2009, 07:10 AM
  4. Replies: 2
    Last Post: 12-23-2008, 07:35 PM
  5. Intial Session Factory Creation Failed.
    By endx in forum Advanced Java
    Replies: 3
    Last Post: 06-29-2008, 05:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts