Jump to content

rahulkg

Members
  • Content count

    31
  • Joined

  • Last visited

Community Reputation

10 Good

About rahulkg

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. WHMCS support offers a secure password/user/URL submission on their ticketing system when you are reporting issues, we need to offer it to our users too and to stop asking them for user/pass in plain text over the ticketing system. So if whmcs consider to develop this module in near future or can we develop from our side ? Please give us further details and suggestions for this work to be done.
  2. Hi Nathanael, You mean we can check any of the IPMI and try to find where is that api ? But I have checked that but cannot find it from ipmi panel , How should I get the api ? Please explain.
  3. We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
  4. We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
  5. We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
  6. We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
  7. We would like know if it is possible to add the option to provide the SRV record via WHMCS DNS Management area. The registrar is enom and now we are only able to do it via their panel. A screenshot is attached. Whmcs support told me to post the issue in http://requests.whmcs.com/ but my post was not yet even approved by moderator there. Please have a check on this and give us a reply.

    srvrecord.png

  8. We experience the slowness in loading invoice page after clicking complete order. I have tested with removing all third party and custom hooks and addons and using default template -six. Also increased our mysql and whmcs server RAM and also done whmcs support instruction below

    "As a starting point, you may want to set max_connections to a low value like 50 and increase based on your available RAM. Other important setting are wait_timeout (at least 600, so MySQL doesn't drop connections too soon), table_definition_cache (at least 5000), sort_buffer (2-4M seems to be good), read_buffer (2-4M seems to be good) and max_allowed_packet (16M is usually fine)." But still no improvement.Why it is too slow after clicking completeorder button in whmcs.

  9. I also experienced the slowness in loading invoice page after clicking complete order. I have tested with removing all third party and custom hooks and addons and using default template -six. Also increased our mysql and whmcs server and also done whmcs support instruction below

    "As a starting point, you may want to set max_connections to a low value like 50 and increase based on your available RAM. Other important setting are wait_timeout (at least 600, so MySQL doesn't drop connections too soon), table_definition_cache (at least 5000), sort_buffer (2-4M seems to be good), read_buffer (2-4M seems to be good) and max_allowed_packet (16M is usually fine)." But still no improvement.

  10. Please reply this post . Also we have increased the ram of whmcs and mysql server as whmcs support told may be due to less memory in our mysql server might have caused this issue. But still loading time not reduced. please check this.
  11. rahulkg

    Slow loading after clicking complete order

    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 ?
  12. We have tried to order a new product and run the following strace command # 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 ?
  13. We have tried to order a new product and run the following strace command # 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 ?
  14. We noticed after clicking completeorder button in cart.php?a=checkout page , it takes more than 1 minute to load the invoice , we removed all hooks and all addons (except that coming with whmcs ) and switched to six theme and again found the loading time greater than 1 minute. so clients close the cart page and we got many blank invoices in whmcs. How to solve this issue. when checked with whmcs support they told the following " I've placed some order on your installation to do some diagnosis, and observed the process of inserting the service and order into your MySQL database takes about 30 seconds. Generating the invoice and invoice line items takes about 20 seconds Sending the emails takes a further 8-10 seconds. The time taken to send emails is dictated by the speed of your mail server, so isn't something WHMCS can control. However I'd expect the records to be inserted into the database faster. WHMCS uses efficient MySQL to insert data with the fewest connections possible, meaning it can handle 10,000's clients and 100,000's services. To diagnose performance in further details, it would be necessary to use strace on the server. Specifically, attach it to the /sailors/orderadd.php file, place an order via the admin area, stop strace, then review the logs. This should help determine where the slowness is occurring; for example is there a wait for the MySQL server to connect or to write to the database Depending upon where the delay is located will depend upon where your server administrator can look to optimize the server configuration or introduce additional processing power/memory as appropriate to reduce the delays." I have checked https://www.thegeekdiary.com/how-to-use-strace-and-ltrace-commands-in-linux/ for installing strace in server. Can you advise us further how to use strace commands to check this further by step by step manner.
  15. We noticed after clicking completeorder button in cart.php?a=checkout page , it takes more than 1 minute to load the invoice , we removed all hooks and all addons (except that coming with whmcs ) and switched to six theme and again found the loading time greater than 1 minute. so clients close the cart page and we got many blank invoices in whmcs. How to solve this issue. when checked with whmcs support they told the following " I've placed some order on your installation to do some diagnosis, and observed the process of inserting the service and order into your MySQL database takes about 30 seconds. Generating the invoice and invoice line items takes about 20 seconds Sending the emails takes a further 8-10 seconds. The time taken to send emails is dictated by the speed of your mail server, so isn't something WHMCS can control. However I'd expect the records to be inserted into the database faster. WHMCS uses efficient MySQL to insert data with the fewest connections possible, meaning it can handle 10,000's clients and 100,000's services. To diagnose performance in further details, it would be necessary to use strace on the server. Specifically, attach it to the /sailors/orderadd.php file, place an order via the admin area, stop strace, then review the logs. This should help determine where the slowness is occurring; for example is there a wait for the MySQL server to connect or to write to the database Depending upon where the delay is located will depend upon where your server administrator can look to optimize the server configuration or introduce additional processing power/memory as appropriate to reduce the delays." I have checked https://www.thegeekdiary.com/how-to-use-strace-and-ltrace-commands-in-linux/ for installing strace in server. Can you advise us further how to use strace commands to check this further by step by step manner.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines