Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion - Safari 5.1 - Webprocess

Webprocess - consumes 80 to 90 % of CPU utilisation n Lion.


This is observed for all pages which are graphic intensives. For normal web pages it takes aroung 15 to 20 % of Cpu

utilisation.


Macbook pro 17" with i5 and 8 gig of ram.


Any one observed this and any solution to this problem.

Posted on Jul 23, 2011 3:38 PM

Reply
17 replies

Jan 25, 2012 2:01 AM in response to icerabbit

You now no longer have to force-quit Safari, you can just kill WebProcess and your tabs etc remain open, and can continue browsing without losing where you left off.


Thanks for your hint! My system is unusable due to swapping after some hours of work. Since I dont want to use another browser I wrote a launch agent witch is killing the web process every 2hrs. Side effect: all pages reload; and if you are unlucky you are just writing a long post in a browser window 😉


This is a very ugly solution but works for me. Until this fixed by Apple witch will take a while ...


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Label</key>

<string>com.mbox.webprocessfix</string>

<key>ProgramArguments</key>

<array>

<string>/usr/bin/killall WebProcess</string>

</array>

<key>StartInterval</key>

<integer>7200</integer>

</dict>

</plist>


For folks who dont know what to do with this:

Put this as a .plist file (say com.myname.fixwebprocess.plist) in either ~/Library/LaunchAgents or /Library/LaunchAgents (if you want it for all users). Dont forget to make it group and world unwritable otherwise launchd will not load it (ie. chmod 644 com.myname.fixwebprocess.plist; do not use Finder but terminal, if your Mac is configured with defaults then the new file you have created already has the right permissions)


Now load the launch agent for the active session with

launchctl load Library/LaunchAgents/com.myname.fixwebprocess.plist

From the next time you log in it will be loaded automaticly.

Lion - Safari 5.1 - Webprocess

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.