Recent Articles

Is Linux Adoption Slowing?
Just read this on Barron's Online: Is the growth rate of Linux adoption slowing down? UBS software analyst Heather Bellini asks that provocative question in a rundown this morning on the findings of her firm's...

Quick Tip On Preventing PHP Exploits
Exploits happen but with some planning you can prevent the worst of them. Planning for an exploit includes considering how to mitigate the damage, how to recover from it, and prevention. Mitigating damage means...

Oracle To Buy Red Hat Or BEA?
Matt asks (almost as an aside to a post on a related topic): My question: why not just buy Red Hat? Before Red Hat buys MySQL, and gives those database...

Date Math In Linux Shell Script
Within a Linux shell script to be used as a cron job, how do I calculate the current date, the current date - n days, and the current date + n days ? This script is to be used to partition an oracle database, and automatically...

Microsoft And "The World's Easiest Desktop Linux"
Yesterday, Microsoft and Linspire Inc. announced a ‘protection deal' for the small Linux vendor. Linspire develops and markets the Linspire distribution of...

Adding Risk Into The OSS Customer Equation
Finally catching up on some reading…I came across this post at ZDNet that discusses an upgrade of Red Hat's stock by Credit Suisse. The analyst (Jason Maynard) seems to be on the same point that David Skok...


10.02.07


Core Crash Stack Trace For Flash Media Server On Linux

By Stefan Richter

As promised previously here are some instructions on how to create a stack trace for FMS on Linux.

Thanks to Asa Whillock from Adobe for writing this.

1. Go to your installed FMS directory

2. You should see in this directory something like core.#### where #### is the PID of the crashed process.

3. If you don't see core.#### after the crash, likely you have core dumps turned off so that Linux didn't make one when you crashed.

3a. Edit your 'server' file in the same FMS install dir. Add the line 'ulimit -c unlimited' following the other ulimits in the first few lines. Then run and crash again.

4. Write a new file - it's a batch file for gdb. I called mine stackTracer

5. In this new file insert only two lines

thread apply all bt
quit


6. Save and close the file

Cost Effective Website and Network Monitoring
IPCheck Server Monitor - Free Download

7. Run the following command in the same dir

Gdb fmscore -batch -c core.#### -x stackTracer > stackOutput

Now you should have a file named stackOutput that when you open it has a stack trace with all the threads and symbols that can be taken from fmscore when it crashed. If you get a file with mostly ?? for the right side of the stacks it might not be the right file so check what crashed - it might not have been the fmscore.

That's a good start point for narrowing down any problems with a crashing FMS.

Comments


About the Author:
Stefan is a certified Flash Developer who has been involved with Flash Media Server since its very early days. From his home office in the UK he has handled a variety of projects, specializing in Flash Video and Rich Internet Applications for clients that include CNET, USA Network and Unilever. Stefan is the author of a series of Adobe Developer Center articles, has spoken at several industry events and contributes a regular column on Flash Video to Streaming Media Magazine. His site www.flashcomguru.com is one of the largest online resources on Flash Video.

About LinuxDeveloperNews
Get the lastest information on current changes in the Linux Development World.

LinuxDeveloperNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxDeveloperNews.com WirelessProNews.com
CProgrammingTrends.com DevWebPro.com


-- LinuxDeveloperNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
© 2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article



LinuxDeveloperNews News Archives About Us Feedback LinuxDeveloperNews Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact