Exporting a report with 48000 to csv is taking too long. We detect in the server that is apache that is consuming cpu. is trying to open files that doesn’t exist.
I’m missing any configuration?
I have created a include folder in custom folder to make changes and be upgrade safe.
So inside this custom/include folder I’ve putted the files that I needed to change.
I realize now that some files apache is searching are files from the original folder but is looking in custom/include so it throws the error.
This error only ocurrs when I’m exporting the report like I said.
Probably is not a coincidence but the name of the files that is looking for and don’t find is the name of the module + DetailView + the name of the column that is configured to show in the report.
I realize now that suitecrm is creating tpl and put them in the cache folder.
But why is he searching in a bunch of different places? That’s why I got lots of messages saying File not found.
example:
access("/var/www/html/SuiteCRM/themes/SuiteP/cache/modules/AOW_WorkFlow/ptin_InvoicePlansDetailViewassigned_user_name.tpl", F_OK) = -1 ENOENT (No such file or directory)
access(“custom/cache/modules/AOW_WorkFlow/ptin_InvoicePlansDetailViewassigned_user_name.tpl”, F_OK) = -1 ENOENT (No such file or directory)
access(“cache/smarty/templates_c/%%50^50A^50AC3DE1%%ptin_InvoicePlansDetailViewassigned_user_name.tpl.php”, F_OK) = 0
access("./cache/modules/AOW_WorkFlow/ptin_InvoicePlansDetailViewassigned_user_name.tpl", F_OK) = 0
stat("./cache/modules/AOW_WorkFlow/ptin_InvoicePlansDetailViewassigned_user_name.tpl", {st_mode=S_IFREG|0755, st_size=140, …}) = 0
access("./cache/modules/AOW_WorkFlow/ptin_InvoicePlansDetailViewassigned_user_name.tpl", R_OK) = 0