Update to pkg state example, and master troubleshooting topic.

I added a 'refresh' example to one of the existing examples in the pkg state. I also updated the master troubleshooting guide with a suggestion from @techhat regarding setting the values in the limits.conf.