rahulkg Posted November 6, 2018 Share Posted November 6, 2018 After clicking whmcs complete order button, it takes more than 1 minute to show invoice, We have tested by disabling all hooks and third party addons . but still the loading time not reduced. Why it happens? 0 Quote Link to comment Share on other sites More sharing options...
rahulkg Posted November 8, 2018 Author Share Posted November 8, 2018 We have tried to order a new product and run the following command after advice from whmcs support. and output and command is given as follows. strace -t -f -o strace.txt /usr/bin/php ordersadd.php and got the following logs " access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/usr/lib/x86_64-linux-gnu/libargon2.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\16\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=34792, ...}) = 0 23013 11:24:35 mmap(NULL, 2130128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a9b1000 23013 11:24:35 mprotect(0x7fed3a9b9000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3abb8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fed3abb8000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220:\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=84856, ...}) = 0 23013 11:24:35 mmap(NULL, 2189928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a79a000 23013 11:24:35 mprotect(0x7fed3a7ae000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a9ad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7fed3a9ad000 23013 11:24:35 mmap(0x7fed3a9af000, 6760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fed3a9af000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=109144, ...}) = 0 23013 11:24:35 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed3adca000 23013 11:24:35 mmap(NULL, 2204200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a57f000 23013 11:24:35 mprotect(0x7fed3a599000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a798000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fed3a798000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\27\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=448440, ...}) = 0 23013 11:24:35 mmap(NULL, 2543976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a311000 23013 11:24:35 mprotect(0x7fed3a37d000, 2097152, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a57d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6c000) = 0x7fed3a57d000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200U\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=1051056, ...}) = 0 23013 11:24:35 mmap(NULL, 3146072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a010000 23013 11:24:35 mprotect(0x7fed3a110000, 2093056, PROT_NONE) = 0" But dont get from above logs where the delay has occured . Can you advise further ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.