Page 1 of 1

ENOENT (No such file or directory) errors

Posted: Fri Sep 07, 2018 3:37 pm
by willows
Hi

we have a site where the TTFB is 10 secs. Well it varied from 3 secs to 29 secs but the average is 10 secs.
All server issues etc have been eliminated. Running on its own server no other sites running there.

Looking at the trace process I am seeing alot of ENOENT (No such file or directory) errors and I am wondering if this
1. is adding to TTFB
2. where the ENOENT (No such file or directory) errors are coming from

A few example lines.

access("/home/eurosmallenginep/public_html/vqmod/vqcache/vq2-_home_eurosmallenginep_ocartdata_storage_modification_catalog_controller_startup_startup.php", F_OK) = -1 ENOENT (No such file or directory)
open("/home/eurosmallenginep/ocartdata/storage/modification/catalog/controller/startup/startup.php", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=7411, ...}) = 0

and

access("/home/eurosmallenginep/ocartdata/storage/vendor/composer/../klarna/kco_rest/src/Session/db.php", F_OK) = -1 ENOENT (No such file or directory)
stat("/home/eurosmallenginep/public_html/system/library/session/db.php", {st_mode=S_IFREG|0644, st_size=1499, ...}) = 0
stat("/home/eurosmallenginep/ocartdata/storage/modification/system/library/session/db.php", 0x7ffdf3a3b020) = -1 ENOENT (No such file or directory)
lstat("/home/eurosmallenginep/public_html/system/library/session/db.php", {st_mode=S_IFREG|0644, st_size=1499, ...}) = 0
lstat("/home/eurosmallenginep/public_html/system/library/session", {st_mode=S_IFDIR|0755, st_size=34, ...}) = 0
open("/home/eurosmallenginep/public_html/system/library/session/db.php", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=1499, ...}) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=1499, ...}) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=1499, ...}) = 0
mmap(NULL, 1499, PROT_READ, MAP_SHARED, 7, 0) = 0x7f54189a9000
munmap(0x7f54189a9000, 1499) = 0
close(7) = 0

All the usual items have been tried.
All non essential tracking and logging have been turned off so as to conserve resources.
Journal theme caching is on
Sessions are stored in the database. ( there are session glitches happening too )

Any help suggestions are appreciated.

Re: ENOENT (No such file or directory) errors

Posted: Fri Sep 07, 2018 9:31 pm
by straightlight
Do you use multiple platforms on the same environment under your public_html or installed OC under a sub-folder within another platform or only OC has been installed in the public_html folder?

Re: ENOENT (No such file or directory) errors

Posted: Fri Sep 07, 2018 10:13 pm
by straightlight
You may also want to look at this similar issue: https://github.com/opencart/opencart/issues/6840