Results 1 to 7 of 7

Thread: Unable to deleted sharedobjects. Please help

  1. #1
    Join Date
    May 2009
    Posts
    9

    Question Unable to deleted sharedobjects. Please help

    I'm using Wowza 2.0.0.08 (Amazon EC2 AMI: ami-f9a04f90) and have Flashcoms Community Messenger running on it.

    The Flashcoms app seems to be generating tons of .rso files in the directory:
    /usr/local/WowzaMediaServer/applications/flashcoms_6_0_communicator/sharedobjects/_definst_/

    I FTP'd into the server, and there are nearly 300,000 .rso files in there. I tried to delete them to free up some space, but each one fails to delete:

    Code:
    [R] DELE 2060519236a211_data.rso
    [R] 550 Delete operation failed.
    And this was right after a server reboot.

    How can I delete these unused files?

  2. #2
    Join Date
    Dec 2007
    Posts
    28,412

    Default

    Try shutting down Wowza before you try to delete them.

    I'm not sure what affect that will have on Flashcomms. You should consult with them about it.

    Richard

  3. #3
    Join Date
    May 2009
    Posts
    9

    Default

    Quote Originally Posted by rrlanham View Post
    Try shutting down Wowza before you try to delete them.
    What's the best/easiest way to shut down (and then restart) Wowza?

    I'm not that well versed in Linux. I know how to reboot the server via EC2's control panel, but I doubt that would help since I couldn't even connect to the server then to try and delete them.

    Thanks for the speedy reply!

  4. #4
    Join Date
    May 2009
    Posts
    9

    Default

    Just found this in the PDF:

    Finally, if you need to stop or start the Wowza Media Server without rebooting the AMI use the command service WowzaMediaServer stop and service WowzaMediaServer start.

    I'll give that a try!

  5. #5
    Join Date
    May 2009
    Posts
    9

    Default

    Hmph. That didn't work. I was able to stop Wowza (and restart it) but it didn't let me delete the files (via FTP) when it was stopped. Is there a better way to go about deleteing them using Linux commands?

  6. #6
    Join Date
    Dec 2007
    Posts
    28,412

  7. #7
    Join Date
    May 2009
    Posts
    9

    Default

    OK, I was able to delete the files using Linux commands. Not sure why I wasn't able to do it using FTP.

    For others looking for the solution, here's how I did it...

    Once you figure out how to SSH to your Wowza instance, you'll need to change directories (cd) to the sharedobjects directory. For me it was:

    Code:
    cd /home/wowza
    then
    Code:
    cd applications/flashcoms_6_0_communicator/sharedobjects/_definst_/
    The "gotcha" is that when you have so many .rso files, you can't just delete them all in one command. Instead you have to execute the following command:

    Code:
    find . -name '*.rso' | xargs rm
    You have to do it that way because (from my understanding) the rm command alone has a limit on the number if files it can delete at one time, so instead you have to pass each file name in one by one to the rm command. So first you run the find command to match all .rso files and you then pass (aka pipe | ) each file name into the rm command one by one (although it all happens automatically behind the scenes).

    It takes a second, but it does the trick.

    If I screwed up any linux terminology or explanations, please feel free to correct me! All I know is that what I did worked!

Similar Threads

  1. The DVR internal data remains after deleted
    By jordi.cenzano@gmail.com in forum AddOn: Wowza nDVR
    Replies: 1
    Last Post: 03-14-2014, 11:50 AM
  2. Replies: 7
    Last Post: 02-23-2014, 07:48 PM
  3. Stream name alias - Avoid deleted netstreamplay
    By techguyads in forum Live Streaming and Encoder Discussion
    Replies: 18
    Last Post: 12-15-2012, 05:22 AM
  4. Wrong deleted transcoder folder
    By silas_i in forum General Forum
    Replies: 2
    Last Post: 11-17-2011, 06:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •