none
Sync Fx over WCF IIS application pool exceeded time limits during shut down RRS feed

  • Question

  • Hi,

    The number of our users has increased.

    Our sync process is done using a WCF service using Batching and hosted on a IIS server.

    Our Application Pool Virtual Memory limit  is set to 1000000 Kb

    Our Application Pool Shutdown Time Limit is set to 120 seconds

    Each minutes we've got a warning event : A process serving application pool 'AirbusSynService' exceeded time limits during shut down. The process id was '5524'.

    And after something like 1 hours :we've got a error event: Application pool 'AirbusSynService' is being automatically disabled due to a series of failures in the process(es) serving that application pool. And the service is stopped

    To make this service run again we need to manualy start the associeted application pool.

    Does someone already met this issue?

    Is IIS configuation causing this Issue?

    Does it come from the sync service?

    Thanks,

    Brgds,

    Stephan

    Thursday, March 21, 2013 9:13 AM

All replies

  • i think that's more of an IIS issue rather than Sync.

    if syncs are ongoing and you reached the app pool virtual memory limit, you' re giving any on-going sync process to wrap in 2mins and you get the exceeded time limits if they dont.

    Thursday, March 21, 2013 10:51 AM
    Moderator
  • Thanks JuneT for your answer.

    Currently with

    Application Pool Virtual Memory limit  set to 1000000 Kb

    Even setting Application Pool Shutdown Time Limit to 10 minutes

    We've got a Recycle requested event every minute.

    It seems that 1000000 Kb is not enough.

    How can we find a correct value for the Application Pool Virtual Memory limit to decrease Recycling request frequency.

    Brgds,

    S

    Thursday, March 21, 2013 11:05 AM
  • in your log, do you see an entry about a request to recycle? are you sure it's hitting the application virtual memory limit that's requesting the recycle?

    are you using x86 0r x64 Sync Fx?

    i suggest you take out the limit, fire a sync and see how much memory it eats up. that gives you an idea on finding the sweet spot for the virtual memory limit.

    Thursday, March 21, 2013 12:10 PM
    Moderator
  • Request to recycle are seen in the Events from the IIS server.

    Exemple:

    Information: A worker process with process id of '7464' serving application pool 'AirbusSynService' has requested a recycle because it reached its virtual memory limit. at 12:53:21
    Warning: A process serving application pool 'AirbusSynService' exceeded time limits during shut down. The process id was '7464'. at 13:03:22
    And after x warnings:

    error: Application pool 'AirbusSynService' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
    On this server x64 sync Fx is used

    Current settings

    Application Pool Virtual Memory limit set to 1500000 Kb

    Even setting Application Pool Shutdown Time Limit to 10 minutes

    I'll try to find out how much memory it eats up by removing the memory limit

    Thursday, March 21, 2013 12:25 PM