Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mono process has high CPU load #118

Open
scaspers opened this issue Jun 18, 2018 · 5 comments
Open

mono process has high CPU load #118

scaspers opened this issue Jun 18, 2018 · 5 comments
Assignees
Labels

Comments

@scaspers
Copy link
Collaborator

Occasionally a apache/mono server process has a high CPU load. It will remain high until the apache server is restarted. The following log entry may give us some insight:

******* DEBUG MODE MESSAGE ******* Compilation of certain files in a batch failed. Another attempt to compile the batch will be made. Since you're running in debug mode, here's some more information about the error: /Views/Inspections/_AddInspectionWorkOrderNoteDialog.cshtml /tmp/apache-temp-aspnet-0/70b6e418/App_Web_i8n3ulda_3.cs(30,141) : error CS0234: The type or namespace name AddInspectionWorkOrderNoteViewModel' does not exist in the namespace DigitalInspection.ViewModels'. Are you missing an assembly reference? /tmp/apache-temp-aspnet-0/70b6e418/App_Web_i8n3ulda_3.cs(43,30) : error CS0115: ASP._Page_Views_Inspections__AddInspectionWorkOrderNoteDialog_cshtml.Execute()' is marked as an override but no suitable method found to override

The following exception has been thrown for the file(s) listed above:
System.Web.Compilation.CompilationException (0x80004005): CS0234: The type or namespace name AddInspectionWorkOrderNoteViewModel' does not exist in the namespace DigitalInspection.ViewModels'. Are you missing an assembly reference?
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x002fa] in /builddir/build/BUILD/mono-5.10.1.47/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:853
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] in /builddir/build/BUILD/mono-5.10.1.47/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:731
at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00202] in /builddir/build/BUILD/mono-5.10.1.47/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:826
at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x00106] in /builddir/build/BUILD/mono-5.10.1.47/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:451
******* DEBUG MODE MESSAGE *******`

@scaspers scaspers added the bug label Jun 18, 2018
@DanielCaspers
Copy link
Owner

Appears to duplicate #116.

@DanielCaspers DanielCaspers added this to the V1.2 milestone Jun 26, 2018
@DanielCaspers
Copy link
Owner

@scaspers , please watch CPU load to see if duplicate of #116 with your recent fix.

@scaspers
Copy link
Collaborator Author

The error is the same as #116 and may also be related to the high cpu load. The cpu load issue was last noticed on 7/14. An update to DI was loaded on 7/15. The extra file was removed from the prod box 7/19. I will monitor for a few more days and close if there is no recurrence.

@scaspers scaspers self-assigned this Jul 19, 2018
@DanielCaspers
Copy link
Owner

@scaspers is this addressed?

@scaspers
Copy link
Collaborator Author

Issue continues to occur but less frequent. It seems that the mono process may be locking up as a new mono process is spawned and still not sure why. I will continue to monitor.

@DanielCaspers DanielCaspers modified the milestones: V1.2, v1.3 Sep 8, 2018
@DanielCaspers DanielCaspers removed this from the v1.3 milestone Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants