Every hour on the hour, on all the servers in the farm running the Microsoft SharePoint Foundation Sandboxed Code Service, the following event is written to the system log event 7034:
Source: Service COntrol Manager
Event ID: 7034
Level: Error
"The SharePoint 2010 User Code Host service terminated unexpectedly. It has done this .. time(s)."
At the same moment you can also observe an error message in the ULS logs:
"Performance Counter OS (pdh) call failed with error code PDH_INVALID_DATA"
Source: Service COntrol Manager
Event ID: 7034
Level: Error
"The SharePoint 2010 User Code Host service terminated unexpectedly. It has done this .. time(s)."
At the same moment you can also observe an error message in the ULS logs:
"Performance Counter OS (pdh) call failed with error code PDH_INVALID_DATA"