I've be on the Plex forum, and they have several people that are experiencing the same issue - but very little documentation about what's causing it and when.
My graphs look almost identical to danb35's -- and the problem in my case occurs ONLY when writing streams to the server via CIFS and ONLY when Plex is actually doing a background or foreground scan of the library. My Plex logs show a DEBUG message saying that it's doing expensive tag write for "abcefg" because something changed.
danb35 - see if your Plex logs show something like this, with corresponding date/times to when you're running out of swap.... My theory is that you DID have a background scan running (either initiated by a web browser, or the Plex scheduler) and it got stuck on the file you were ripping.
Greg
/mnt/ssd1/plexmediaserver_1/usr/pbi/plexmediaserver-amd64/plexdata/Plex Media Server/Logs# fgrep expensive *
Plex Media Server.log.5:Jun 04, 2014 13:36:28 [0x80bdd8c00] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Looking at this particular log, my swap peaked to 27GB used (out of 48GB swap) beginning as 13:47:13 almost to the second. At that point "Tarzan" finished ripping, the file was closed, and the errors stopped - and my swap returned back down to 300 KB used instead of 27 GB.
My graphs look almost identical to danb35's -- and the problem in my case occurs ONLY when writing streams to the server via CIFS and ONLY when Plex is actually doing a background or foreground scan of the library. My Plex logs show a DEBUG message saying that it's doing expensive tag write for "abcefg" because something changed.
danb35 - see if your Plex logs show something like this, with corresponding date/times to when you're running out of swap.... My theory is that you DID have a background scan running (either initiated by a web browser, or the Plex scheduler) and it got stuck on the file you were ripping.
Greg
/mnt/ssd1/plexmediaserver_1/usr/pbi/plexmediaserver-amd64/plexdata/Plex Media Server/Logs# fgrep expensive *
Plex Media Server.log.5:Jun 04, 2014 13:36:28 [0x80bdd8c00] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:36:51 [0x808081400] DEBUG - Doing expensive tags write for 'Shrek 2' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Plex Media Server.log.5:Jun 04, 2014 13:47:13 [0x80acd3400] DEBUG - Doing expensive tags write for 'Tarzan' because something changed.
Looking at this particular log, my swap peaked to 27GB used (out of 48GB swap) beginning as 13:47:13 almost to the second. At that point "Tarzan" finished ripping, the file was closed, and the errors stopped - and my swap returned back down to 300 KB used instead of 27 GB.