Re: Session being created continuously...
Re: Session being created continuously...
- Subject: Re: Session being created continuously...
- From: Amedeo Mantica <email@hidden>
- Date: Fri, 29 Jan 2010 11:37:36 +0100
oh, i didn't knew that command, useful, thanks
Amedeo
On 29/gen/2010, at 00.29, Anjo Krank wrote:
> A session isn't all that much. It mostly contains an EC, some pointers and the (limited) stack of pages.
>
> It's only when you have a bunch of EOs in the session EC that they get heavy.
>
> Try it: make an empty app, override Session() to include a counter, use "ab" with ab -c 5 -n 5000000 and check when you get an OOM.
>
> Cheers, Anjo
>
>
>
> Am 28.01.2010 um 23:46 schrieb Amedeo Mantica:
>
>> I agree with you, but is not easy to avoid
>> Amedeo
>>
>> On 28/gen/2010, at 23.23, Miguel Arroz wrote:
>>
>>> Hi!
>>>
>>> BTW, just an advice: it may be a good idea to not create a session every time someone opens your app front page. This can be a hole to a very simple DoS.
>>>
>>> Yours
>>>
>>> Miguel Arroz
>>>
>>> On 2010/01/28, at 20:37, Amedeo Mantica wrote:
>>>
>>>> btw, thank you all for the support
>>>>
>>>> On 28/gen/2010, at 21.30, Amedeo Mantica wrote:
>>>>
>>>>> Comparing these timestamps with apache logs seems that ip addresses are of google bots
>>>>>
>>>>> now i don't know why my woapp see the self server ip address.
>>>>>
>>>>> Amedeo
>>>>>
>>>>>
>>>>> Jan 28 21:07:31 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>> Jan 28 21:07:43 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>> Jan 28 21:07:43 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - .
>>>>> Jan 28 21:07:43 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Session Invoked. ID = snScYHezfXZ2YCIq4vZVt0
>>>>> Jan 28 21:07:43 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser = robot
>>>>> Jan 28 21:07:43 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser platform = Unknown Platform
>>>>> Jan 28 21:07:43 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser user info = {cpu = "Unknown CPU"; geckoRevision = "No Gecko"; }
>>>>> Jan 28 21:07:43 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>> Jan 28 21:07:53 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>> Jan 28 21:07:53 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - .
>>>>> Jan 28 21:07:53 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Session Invoked. ID = qrsn4ipZzHYH7lZF2JXgyw
>>>>> Jan 28 21:07:53 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser = robot
>>>>> Jan 28 21:07:53 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser platform = Unknown Platform
>>>>> Jan 28 21:07:53 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser user info = {cpu = "Unknown CPU"; geckoRevision = "No Gecko"; }
>>>>> Jan 28 21:07:53 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>> Jan 28 21:07:55 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>> Jan 28 21:07:55 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - .
>>>>> Jan 28 21:07:55 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Session Invoked. ID = 9BRZmo11a3Z70bzbALCFyg
>>>>> Jan 28 21:07:55 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser = robot
>>>>> Jan 28 21:07:55 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser platform = Unknown Platform
>>>>> Jan 28 21:07:55 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser user info = {cpu = "Unknown CPU"; geckoRevision = "No Gecko"; }
>>>>> Jan 28 21:07:55 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>> Jan 28 21:08:06 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>> Jan 28 21:08:06 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - .
>>>>> Jan 28 21:08:06 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Session Invoked. ID = SO1NEan3slUhY8s7RX0BLM
>>>>> Jan 28 21:08:06 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser = robot
>>>>> Jan 28 21:08:06 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser platform = Unknown Platform
>>>>> Jan 28 21:08:06 confindustria[2013] DEBUG er.extensions.appserver.ERXSession - Browser user info = {cpu = "Unknown CPU"; geckoRevision = "No Gecko"; }
>>>>>
>>>>>
>>>>> On 28/gen/2010, at 20.58, David Avendasora wrote:
>>>>>
>>>>>> Spotlight?
>>>>>>
>>>>>> On Jan 28, 2010, at 2:42 PM, Amedeo Mantica wrote:
>>>>>>
>>>>>>> I think too, but xx.xx.xx.xx is my server ip address !!
>>>>>>>
>>>>>>> On 28/gen/2010, at 20.37, Chuck Hill wrote:
>>>>>>>
>>>>>>>>> Jan 28 19:47:12 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>
>>>>>>>> I'd guess that something is indexing your site.
>>>>>>>>
>>>>>>>> Chuck
>>>>>>>>
>>>>>>>>
>>>>>>>> On Jan 28, 2010, at 11:35 AM, Amedeo Mantica wrote:
>>>>>>>>
>>>>>>>>> Jan 28 19:47:03 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:47:12 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:47:12 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:47:12 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:47:20 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:47:20 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:47:20 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:47:27 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:47:27 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:47:27 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:47:33 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:47:33 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:47:33 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:47:39 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:47:39 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:47:39 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:47:51 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:47:51 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:47:51 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:48:03 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:48:03 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:48:03 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:48:15 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:48:15 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:48:15 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:48:26 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:48:26 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>> Jan 28 19:48:26 confindustria[2013] INFO er.extensions.appserver.ERXSession - Remote IP Address = xx.xx.xx.xx
>>>>>>>>> Jan 28 19:48:38 confindustria[2013] INFO er.extensions.appserver.ERXSession - New Session
>>>>>>>>> Jan 28 19:48:38 confindustria[2013] INFO er.extensions.appserver.ERXSession - Browser = robot
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> NOTE xx.xx.xx.xx is alway the same ip address and is the my webserver ip !!
>>>>>>>>>
>>>>>>>>> What's up?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>> Amedeo _______________________________________________
>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>
>>>>>>>>> This email sent to email@hidden
>>>>>>>>
>>>>>>>> --
>>>>>>>> Chuck Hill Senior Consultant / VP Development
>>>>>>>>
>>>>>>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>>>>>>> http://www.global-village.net/products/practical_webobjects
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>
>>>>>>> This email sent to email@hidden
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>> This email sent to email@hidden
>>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden