[Glass] maintenance_gem.log expired sessions

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Wed Dec 9 15:39:13 PST 2015


On Wed, Dec 9, 2015 at 8:34 PM, Dale Henrichs via Glass <
glass at lists.gemtalksystems.com> wrote:

> Dario,
>
> Are you using AJAX calls in some parts of your app -- depending upon how
> the calls are made, you might get several sessions spun up from a single
> http request ...
>
>
Dale, in which case an AJAX call would get several sessions spun up from a
single http request?




> If you are concerned you could go into the session expiry logic and record
> additional information in the object log about the sessions that are being
> expired ... with such a low volume of requests, you could probably afford
> to grab a days worth of sessions without expiring them and open in an
> inspector to see exactly what's going on ...
>
>
> Dale
>
>
>
>
> On 12/9/15 5:20 AM, Trussardi Dario Romano via Glass wrote:
>
>
>
>
> On Wed, Dec 9, 2015 at 8:20 AM, Trussardi Dario Romano via Glass <
> <glass at lists.gemtalksystems.com>glass at lists.gemtalksystems.com> wrote:
>
>> Ciao,
>> i have a deployment glass environment system ( 3.1.0.6 )
>>
>> where i run the Seaside maintenance VM.
>>
>> Now the  maintenance_gem.log  report:
>>
>> hourly :
>>
>> --transcript--'Starting markForCollect.:
>> 2015-12-06T03:35:11.58872890472412+01:00' --transcript--'Warning:
>> markForCollection found 2569174 live objects, 4553 dead objects(occupying
>> approx 409770 bytes)' --transcript--'...finished
>> markForCollect.2015-12-06T03:35:19.36173295974731+01:00'
>> every minute:
>>
>>
>> ...Expired: 0 sessions.
>>
>> ...Expired: 20 sessions.
>>
>> ...Expired: 4 sessions.
>>
>> ...Expired: 9 sessions.
>>
>> ...Expired: 3 sessions.
>>
>> ...Expired: 0 sessions.
>>
>> ...Expired: 0 sessions.
>>
>> ...Expired: 0 sessions.
>>
>> ...Expired: 0 sessions.
>>
>>
>> Now my application open only two local session  ( DTRWASession  subclass
>> of WASession ) every day.
>>
>>
>> Where for local i intend on the local network where the Glass server run.
>>
>>
>>  I don't understand  because the maintenance report some other Expired
>> session.
>>
>>
>> The maintenance expired session reference to WASession open  or
>> reference- mean to some other thinks?
>>
>>
>> The system records information about the WASession open and the relative
>> IP request  address   ?
>>
>>
>> Sessions expired can be related to intrusion attempts from internet?
>>
>>
>>
>>
> Yes, that looks strange. If you check the object log entries (either via
> tODE command "ol view -r"  or from WAObjectLog) you can see the timestamp.
> So...if you are sure nobody was doing anything at all at that time then it
> might be intrusion attempts. Bear in mind the session timeout.
> I wonder if you have some kind of service that would do a HTTP GET over
> the main URL for checking sanity of the system (kind of monit tool)?
>
>
> Ciao Mariano,
> i have the following services ( launched by daemontools ) :
>
> /etc/service/gs_maintenance: up (pid 11242) 2221972 seconds
>
> /etc/service/gs_seaside-9060: up (pid 11240) 2221972 seconds
>
> /etc/service/gs_seaside-9061: up (pid 11244) 2221972 seconds
>
> /etc/service/gs_seaside-9062: up (pid 11245) 2221972 seconds
>
> /etc/service/gs_seaside-9063: up (pid 11247) 2221972 seconds
>
> /etc/service/gs_seaside-9064: up (pid 11246) 2221972 seconds
>
> /etc/service/gs_seaside-9065: up (pid 11248) 2221972 seconds
>
> /etc/service/gs_statmon-1: up (pid 11241) 2221972 seconds
>
> /etc/service/gs_statmon-60: up (pid 11243) 2221972 seconds
>
> The gs_statmon-x  services open some sessions in the server ?
>
> Thanks,
>
> Dario
>
>
>
>
>
> _______________________________________________
> Glass mailing listGlass at lists.gemtalksystems.comhttp://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151209/3d8e7b5e/attachment.html>


More information about the Glass mailing list