# WOWZA Service Stops when logging off from the Server & after long hours of idle time

**URL:** <https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [November 6, 2012, 6:19pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342 "2012-11-06T18:19:12Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 6, 2012, 6:19pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/1 "2012-11-06T18:19:12Z")

</div>

Hello - We run WOWZA Media Server 3.1.2 on a Windows 2008 R2 64-bit w/ JVM enabled and have an issue with WOWZA Service Stopping, everytime we log-off from the server. The Service also stops after longs hours of inactivity. We run WOWZA in demo mode and i have verified that we have enough time left before the demo license will expire. FYI, we also have with us the paid license keys with us but haven’t applied it as we have an important event coming in a couple of days and didn’t want to mess around with the tested set-up.

I referenced the below thread but didn’t quite find the same error logs in my environment. Neither do I see any form of error logs displayed on any of the log files on why the service shut down this way.

[https://www.wowza.com/forums/showthread.php?19001-Wowza-Service-stops-after-logoff-on-Windows-Server-2003-R2-x64](https://www.wowza.com/forums/showthread.php?19001-Wowza-Service-stops-after-logoff-on-Windows-Server-2003-R2-x64)

Any input on this would be highly appreciated.

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2012, 1:50pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/2 "2012-11-06T13:50:15Z")

</div>

SG,

I don’t understand. What is the probem?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2012, 2:56pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/3 "2012-11-06T14:56:09Z")

</div>

Sounds like you are running Wowza in stand-alone (/bin/startup.bat) mode. You have to start Wowza as a service. See the user guide for your OS.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2012, 3:22pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/4 "2012-11-06T15:22:12Z")

</div>

I thought you fixed it?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2012, 3:38pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/5 "2012-11-06T15:38:03Z")

</div>

It shouldn’t stop. Running as Named User won’t help, I don’t think. Has it stopped since you fixed the sequence?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 7, 2012, 2:37pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/6 "2012-11-07T14:37:53Z")

</div>

Do you see any clue in the access or error logs?

Otherwise, zip up and send /conf and /logs folders to support@wowza.com. Include a link to this thread for reference.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 2, 2013, 3:45pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/7 "2013-04-02T15:45:29Z")

</div>

Have you reviewed all the posts in this thread? What do you see in the access and error logs? Are you running Wowza in stand-alone (/bin/startup.bat) mode or as a service?

Richard

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 6, 2012, 7:59pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/8 "2012-11-06T19:59:20Z")

</div>

Richard - WOWZA Service Shuts down everytime i log-off from the Server and also after long periods of inactivity of the WOWZA service.

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 6, 2012, 8:29pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/9 "2012-11-06T20:29:00Z")

</div>

Okay…I went ahead and included _wrapper.java.additional.9=-Xrs_ (maintaining the number sequence appropriately) in the _/bin/WowzaMediaServer-Service.conf_ file and hard rebooted the server.

This fixed the issue of WOWZA Service shutting down whenever I log-off from the Server (hosting WOWZA).

I will continue to monitor the Service for longer hours and see if shuts down automatically for one reason or the other.

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 6, 2012, 8:47pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/10 "2012-11-06T20:47:32Z")

</div>

Richard - I have verified that the WOWZA Service Start-up have been configured per the WOWZA User Guide.

Do you think it would also help if i run the service as a _named user_ as opposed to the _Local System Account_?

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 6, 2012, 9:05pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/11 "2012-11-06T21:05:32Z")

</div>

One part of it yes…however, on the other aspect of the Service stopping after long period of inactivity, I wanted to check if running the service as a named user would be of any help?

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 6, 2012, 10:42pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/12 "2012-11-06T22:42:20Z")

</div>

It hasn’t stopped since the time I affected the change. However I will keep monitoring it and get back to you tommorrow if the issue continues to exist.

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 7, 2012, 12:47pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/13 "2012-11-07T12:47:45Z")

</div>

Richard - Both the issues reoccured this morning! I rechecked the _/bin/WowzaMediaServer-Service.conf file_ and the entry I made continues to exist.

Should I zip all the logs and send it the e-mail support to have them take a look at it?

Thanks

SG

---

<div class="post-metadata">

**Author:** ![Srinath\_Gopalakrishn](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Srinath\_Gopalakrishn](https://community.wowza.com/u/Srinath_Gopalakrishn)\
**Post date:** [November 7, 2012, 8:52pm UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/14 "2012-11-07T20:52:41Z")

</div>

Richard - Thanks for the response. we dont find any clue from the logs. To day wowza service shutdown in the middle of ongoing live stream.we have gathered the required logs and e-mailed to wowza support

Thanks

sg

---

<div class="post-metadata">

**Author:** ![Jason\_singh](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jason\_singh](https://community.wowza.com/u/Jason_singh)\
**Post date:** [April 2, 2013, 7:12am UTC](https://community.wowza.com/t/wowza-service-stops-when-logging-off-from-the-server-after-long-hours-of-idle-time/39342/15 "2013-04-02T07:12:42Z")

</div>

hello i have same problem did any one find solution for this server goes off after several hours…please kindly let me know thanks
