# Server not accessible - Error 503

**URL:** <https://forums.plex.tv/t/server-not-accessible-error-503/780557>\
**Category:** Plex Media Server\
**Created:** [March 13, 2022, 12:39pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557 "2022-03-13T12:39:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![unibombz](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/unibombz/32/234053_2.png) [@unibombz](https://forums.plex.tv/u/unibombz)\
**Post date:** [March 13, 2022, 12:39pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/1 "2022-03-13T12:39:31Z")

</div>

Version Version 1.25.7.5604 - 503 Services unavailable error still  
Plex still crashing  
no one seems to know

Same thing happens to 2 others I know as well

Time to move off plex perhaps?

---

<div class="post-metadata">

**Author:** ![unibombz](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/unibombz/32/234053_2.png) [@unibombz](https://forums.plex.tv/u/unibombz)\
**Post date:** [March 14, 2022, 3:46am UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/2 "2022-03-14T03:46:46Z")

</div>

Hello,  
Appreciate the reply. I am going to see how the next few days to a week pan out after I made some adjustments yesterday to see if 1.25.7.5604 stabilizes

The last stable version I had was \> 1.25.4.5426-eb46d070e-x86  
This version ran for approx. 46 days before yet another 503 crash error.

Seems ever since I moved my libs over to their new agent all these crashing errors started to occur.

Keep me posted if you experience any further concerns, seems to be an issue that has no real resolution.

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [March 14, 2022, 8:53am UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/3 "2022-03-14T08:53:19Z")

</div>

> [@unibombz](#):
>
> Version Version 1.25.7.5604 - 503 Services unavailable error still  
> Plex still crashing  
> no one seems to know
> 
> Same thing happens to 2 others I know as well

The 503 errors are consequence of an earlier issue caused by some deadlock within Plex Media Server leading to loads of requests getting queued up and eventually reaching thousands and exhausting the queue which would result in 503 errors being returned.

This is the first indication I have of new deadlocks - we have had some months ago

When the 503 errors arise the Plex Media Server does not crash or close - so this forum topic is not representative of the problem and I will move your post to a new forum topic.

Deadlocks can only be investigated from process dumps coupled with debug [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) and list of connections obtained before forcing the process dump. See details below:

### Diagnostics for a deadlock / lockout and subsequent Error 503s

1. Prepare yourself by finding the server security token string as it will be needed for the connections list request. To find the token string, see this support article [Finding an authentication token / X-Plex-Token | Plex Support](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/)

2. Ensure the server [debug logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) is enabled in advanced server settings.

3. It may be necessary to increase the number of log files from the default. See Adavnced Server Setting “ **LogNumFiles** ” in this support article. Suggest setting it to 10. [Advanced, Hidden Server Settings | Plex Support](https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/)

4. Restart the server to get fresh log files created - and wait for time when the issue arises

5. When the problem occurs (and please wait for sufficient time before capturing diagnostics or restarting eg 10 minutes of requests to the server not getting through) , get the output from a specific browser request on the server. In a browser, go to this url

`http://localhost:32400/connections?X-Plex-Token=xxxxxxxx`

where you put the server token string instead of the xxxxxxx. Copy the displayed output to a text file and save

1. Next is to force a process dump for the Plex Media Server.exe process. We can do this with Windows Task Manager. Find the `Plex Media Server.exe` process in Task Manager, select it and right click on it and choose `Create Dump`

2. Check that the dmp file has been created

3. Restart the server and capture the zipped [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

4. Zip the dmp file and upload to dropbox or google drive etc

5. send me by private message link to the zipped dmp files and send the saved `/connections` output text files and the zipped server logs

**Variation to steps for Linux / NAS platforms**

1. If unable to get the /connections request directly on the server using localhost, give the local IP of the server

`http://IP-OF-SERVER:32400/connections?X-Plex-Token=xxxxxxxx`

As example: `http://192.168.0.82:32400/connections?X-Plex-Token=xxxxxxxx` if the server IP is 192.168.0.82

1. To force a dump on Linux - you need to list the process identifiers using `ps` command in a command line session. Then get a process dump through the command line in Linux  
`kill -SEGV <pid>`  
where `<pid>` is the PID number for the plexmediaserver process

2. The Plex Media Server will create a minidump and attempt to upload the crash report. Look for a copy of the minidump in the directory where environment variable $TMPDIR refers to for the plex media server process. The dump file would have a filename that is a string for random characters with dash separators = example:  
`b2bc29d9-1c2b-4d13-6de103a6-23dd90b8`

The rest of the steps would be the same as above

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [March 14, 2022, 8:56am UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/4 "2022-03-14T08:56:02Z")

</div>

@unibombz I moved your post from [Plex keeps crashing/closing - Plex Media Server - Plex Forum](https://forums.plex.tv/t/plex-keeps-crashing-closing/723437) into a new topic

---

<div class="post-metadata">

**Author:** ![KaraokeAmerica](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/karaokeamerica/32/83642_2.png) [@KaraokeAmerica](https://forums.plex.tv/u/KaraokeAmerica)\
**Post date:** [March 14, 2022, 3:13pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/5 "2022-03-14T15:13:27Z")

</div>

> [@unibombz](#):
>
> Same thing happens to 2 others I know as well

Now you know 3 people this is happening with.

Mine crashes sometimes multiple times per day since the last server update.

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [March 21, 2022, 11:24am UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/6 "2022-03-21T11:24:52Z")

</div>

> [@KaraokeAmerica](#):
>
> Mine crashes sometimes multiple times per day since the last server update

I cannot see any posts from you for these crashes and debug [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) attached

> [@KaraokeAmerica](#):
>
> Now you know 3 people this is happening with.

I have only seen the references to the Error 503s (happens after a deadlock) from one user recently - @unibombz

Crashes are different and would not result in Error 503s

---

<div class="post-metadata">

**Author:** ![unibombz](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/unibombz/32/234053_2.png) [@unibombz](https://forums.plex.tv/u/unibombz)\
**Post date:** [April 9, 2022, 12:16pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/7 "2022-04-09T12:16:59Z")

</div>

Hello,

503 is still persistent, another crash today ☹

---

<div class="post-metadata">

**Author:** ![KaraokeAmerica](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/karaokeamerica/32/83642_2.png) [@KaraokeAmerica](https://forums.plex.tv/u/KaraokeAmerica)\
**Post date:** [April 11, 2022, 1:25pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/8 "2022-04-11T13:25:24Z")

</div>

> [@sa2000](#):
>
> > [@KaraokeAmerica](#):
> >
> > Mine crashes sometimes multiple times per day since the last server update
> 
> I cannot see any posts from you for these crashes and debug [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) attached

I sent you a PM with all this information. Thanks!

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [April 25, 2022, 12:32pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/9 "2022-04-25T12:32:50Z")

</div>

> [@unibombz](#):
>
> 503 is still persistent, another crash toda

I have completed the analysis of the diagnostics for the deadlock and have now referred it to the development team - thanks for the process dump and related logs

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 24, 2022, 12:32pm UTC](https://forums.plex.tv/t/server-not-accessible-error-503/780557/10 "2022-07-24T12:32:57Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
