Apologies for the lack of details however we are hoping to get some assistance in simply how to get those details.
We are using IDB to store a good amount of data coming off web sockets and put into IDB via web workers. It works fine almost all the time but every once in a while IDB just seems to crash. It no longer shows up in the Application tab of dev tools.
chrome://indexeddb-internals/
Won't even load... DBs fro other sites are affected which makes me think we have stumbled on a difficult to reproduce IDB bug.
The only way to fix the issue is to close down Chrome entirely, sometimes killing processes that won't shut down itself, and start it back up again. Basically the whole engine dies.
Does this sound familiar to anyone and any advice on how to trace it to provide more information?
Cheers and thanks,
Walter.
Related
I have just moved a WP installation from one hosting provider to another. Everything went fine except for a problem I have with the new installation. Please note that I have moved from a regular VPS to a kinda powerful and fast dedicated machine.
The thing is that now, the website is slower than when in the previous server. It takes 6-7 seconds to load a page and according to Chrome's Dev Tools network panel, it has a period of 3-4 seconds to the get the first response byte (TTFB), which is insane.
I have tried the following with no success:
Review database for anomalies
Disable all plugins (and delete them)
Disable template (and delete it)
With these last two actions, I lowered the loading time to 5-6 seconds, which is a lot for small site (a few hundreds of posts and 50-60 pages), with no comments enabled. I still have the 3-4 TTFB period.
After that, I installed the Query Monitor plugin and found out that, at every page load, WP performs hundreds (ranging from 400 to 800) database queries and, in some cases, even 1500 database queries. OMG!
Honestly, I am quite lost here. I mean, on one hand I have this strange database behavior I cannot really understand. And on the other hand, I cannot help wondering how it was faster on the previous & slower server.
By the way, I have moved from MySQL to MariaDB, which should be even faster too. Indexes are kept when dumping & importing the file. I am lost. :(
Any help is greatly appreciated. Apologies for my english (not my language) and please let me know if the is some important information missing. I will be glad to provide all the necessary information that help me/us troubleshoot this.
Thanks in advance!
I think you should optimize your MySQL config (my.cnf in Linux or my.ini in Windows). To view problems in MySQL you can try run the script MySQLTuner: https://github.com/major/MySQLTuner-perl.
I have an access database application, with many connections used to multiple external .accdb files. I have a number of things potentially slowing things down, and I'm trying to solidify the entirety.
The main thing I don't know at this time is how to find what code I'm using that is leveraging DDE instead of OLE, and how to update it to OLE instead (I assume that's the most modern implementation? Or is there something else I should use instead?).
I was cued onto my use of DDE as I got an error stating it was waiting on the DDE connection, which was opened successfully but still waiting on data.
Ideally, I'm looking for something that will convert well to SQL backend databases once I get around to setting those up, but for now I'm using the .accdb backends.
Thanks all!
I think Gustav's comment would help anyone else who happens upon my question.
For the purposes of this conversation, however, my tack has changed and I'm migrating to SQL backends now.
I'm working on Aegir for migrating/cloning sites from platform1/db1 to platform2/db2. Platform1, platform2, db1 and db2 are verified successfully, but when i try to migrate/clone site the tasks spinning for ever. When i go into the server i can see the db is created on db2 and site is created on platform2 but the task is unfinished which is always in progress. I cancelled the task and re verified the platform which din't help.
Is there anything i'm missing or am i doing something wrong?
You might wish to compare site creation times on both servers. It could take as long to migrate a site over as it does creating a site.
If that works (creating a site on db2) I would try and disable unstable/custom modules until it works. It sounds as though something is interfering.
(Btw in my opinion you shoud post at least the last lines of the task log, as well as how long you waited and how big the site's backups are, and any relevant info on the db engines etc. I notice you forgot to talk about installs on db2 too.)
I have been working on a requirement for our apache2 logs to be recorded to a mysql database, instead of the text log file norm.
I had no difficulty in accomplishing the setup and config, and it works as expected, however there seems to be a bit of information that I cannot find (or may very well be that I am searching for the wrong thing).
Is there anyone out there who use (or even like to use) libapache2-mod-log-sql that are able to tell more about its connection to mysql? Is it persistent? What kind of resource impact should I expect?
These two issues are core to my research, and yet so rare to find info on.
thanks in advance.
I am supposed to make our MS Access application work in parallel. Basically we will always at most be 3 people that need concurrent access (so from what I read this should not be too much of a problem traffic-wise).
Mostly we will all need to work on the same table (well, it's actually 3 tables, but with this access tool you can always open the sub-tables directly by clicking on the +).
I am having a hard time finding information on how to do this, so any pointers to good articles would be welcome.
Also I would like to be able to see who changed what... So implement some sort of logging.
At the moment the database lies somewhere, we download it (write that it is in use), make changes and upload it back. It's a stone-age solution and I need to change this asap.
Any help is greatly appreciated!
The easiest way is to stick the mdb/accdb file on a network drive, and make people open it from there, rather than copying it locally first. 3 concurrent users probably won't crash it too often, but make sure you take regular backups.
As for logging, well, it's easy enough to audit changes made via forms, but not so much with tables. Have a look at this thread http://forums.devarticles.com/microsoft-access-development-49/creating-audit-trail-of-all-edits-to-database-22382.html