Magento DB query to large works the first time then crashes.
I have about 6000 products and I need to put my category's into alphabetical order. The first time I make a move it takes about 45 min and works. Then any after that fail. mySQL is still up and going on other sites. but if I restart mySQL then it will not start back up. I have to safe reboot twice.... wait a bit then it seems to reset and will work. how do i let it run a larger query or is there another way to move/organize the categories?
If any one can help I would appreciate it so much.
Thanks
P.s. any more info needed please ask.
Notification Type: failed
Notification: mysql failed # Mon Jul 1 13:27:34 2013. A restart was attempted automagically.
Service Check Method: [check command]
Number of Restart Attempts: 1
Service Check Raw Output:
mysql is not running
Restart Message:
Stuck on restart of mysql at /usr/local/cpanel/Cpanel/TailWatch/ChkServd.pm line 1013.
Startup Log:
Starting MySQL.... SUCCESS!
Memory Information:
Used: 348MB
Available: 3099MB
Installed: 3447MB
Load Information: 18.49 12.34 6.95
Uptime: 199 days, 16 hours, 39 seconds
IOStat Information:
avg-cpu: %user %nice %system %iowait %steal %idle
0.44 0.23 0.31 0.84 0.00 98.18
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 30.25 103.89 151.29 1792508458 2610237768
vda1 30.25 103.89 151.29 1792508098 2610237768
vdb 0.01 0.19 0.25 3278144 4279560
Related
I'm trying to use a spring boot application with MySQL Workbench however when I try to make a SELECT query the app constantly crashed and it seems like it only happens when I do a SELECT because it works when I create a database and use an INSERT statement.
I'm on MacOS Ventura, has anyone ran into this issue as well? If so how was it fixed?
I have tried uninstalling and reinstalling but the issue persists.
Edit
This is the error I see.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: MySQLWorkbench [4040]
Path: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier: com.oracle.workbench.MySQLWorkbench
Version: 8.0.32.CE (1)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-02-02 14:09:45.6928 -0400
OS Version: macOS 13.0.1 (22A400)
Report Version: 12
Anonymous UUID: F7C82EFE-672B-7D8B-2236-0CE707EC500E
Sleep/Wake UUID: D960C8C9-39F1-456B-96B6-12CB04D76D93
Time Awake Since Boot: 21000 seconds
Time Since Wake: 5002 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [4040]
There's much more though but it's too much text.
Sorry my english is not fluent. I am a newbie in MySQL database. I use MySQL 8.0.30 on Windows Server 2022 Datacenter. I have problem that MySQL crashes frequently (the MySQL service stops) always with same error log. I've tried to find the source of the problem but it's not resolved.
For the information I used Grafana Web Server and MySQL on same device with the following specs:
Processor Intel(R) Xeon(R) Silver 4208 CPU # 2.10GHz 2.10 GHz
Installed RAM 16.0 GB (15.6 GB usable)
System type 64-bit operating system, x64-based processor
Please give me an advice to resolve this trouble.
Thanks before
Here is the error MySQL log details :
10:01:25 UTC - mysqld got exception 0xc0000005 ;
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
7ffa8ac5b496 jemalloc.dll!???
7ffa8ac5b918 jemalloc.dll!???
7ffa8ac5ef91 jemalloc.dll!je_realloc()
7ffa82547ddd libcrypto-1_1-x64.dll!CRYPTO_memcmp()
7ffa8258bcea libcrypto-1_1-x64.dll!CRYPTO_memcmp()
7ffa8258e7e3 libcrypto-1_1-x64.dll!CRYPTO_memcmp()
7ffa8255956d libcrypto-1_1-x64.dll!CRYPTO_memcmp()
7ffa8246263c libcrypto-1_1-x64.dll!CRYPTO_memcmp()
7ffa826092ff libcrypto-1_1-x64.dll!CRYPTO_memcmp()
7ffab7d47167 ntdll.dll!RtlActivateActivationContextUnsafeFast()
7ffab7d4848a ntdll.dll!LdrShutdownThread()
7ffab7d28bae ntdll.dll!RtlExitUserThread()
7ffab5851b8a KERNELBASE.dll!FreeLibraryAndExitThread()
7ffab55c6c5d ucrtbase.dll!_recalloc()
7ffab55f3c19 ucrtbase.dll!_endthreadex()
7ff682fc4605 mysqld.exe!?modify_thread_cache_size#Per_thread_connection_handler##SAXK#Z()
7ff6844987a9 mysqld.exe!?deallocate#?$allocator#V?$sub_match#V?$_String_const_iterator#V?$_String_val#U?$_Simple_types#D#std###std###std###std###std##QEAAXQEAV?$sub_match#V?$_String_const_iterator#V?$_String_val#U?$_Simple_types#D#std###std###std###2#_K#Z() [truncated, 260 bytes total]
7ff68405139c mysqld.exe!?my_thread_self_setname##YAXPEBD#Z()
7ffab55c6b4c ucrtbase.dll!_recalloc()
7ffab7274ed0 KERNEL32.DLL!BaseThreadInitThunk()
7ffab7d9e44b ntdll.dll!RtlUserThreadStart()
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
I have tried reducing the data read and written, then increasing the client connection limit
Rate Per Second = RPS
Suggestions to consider for your my.ini [mysqld] section to possibly avoid unplanned shutdowns.
innodb_thread_concurrency=10 # from 33 for reasonable limit for your 16 available total threads
innodb_redo_log_capacity=96M # from innodb_log_file_size name and 48M limit
**** this is current name rather then deprecated innodb_log_file_size per error log
innodb_buffer_pool_size=8G # from 124M for about 1/2 available RAM to reduce innodb_data_reads RPS of 31.
read_rnd_buffer_size=32K from 256K to reduce handler_read_rnd_next RPS of 63,041
thread_cache_size=128 # from 10 to reduce threads_created RPS of ~ 5
Please view profile for contact info. You have many opportunities to improve performance with additional Global Variable changes.
Would like to hear your story of how you get this much activity in 96 seconds of uptime. :)
linux kernel 5.15 comes with new ntfs3 driver, I'm on fedora 34 with kernel 5.15.6, but when I mount a device using ntfs3, it reports error:
# uname -a
Linux fedora 5.15.6-100.fc34.x86_64 #1 SMP Wed Dec 1 13:41:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# mount -t ntfs3 /dev/sda1 /run/media/sify/Elements\ SE
mount: /run/media/sify/Elements SE: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
do I need to do anything special to use the new ntfs3 driver?
I solved this by repairing the hard disk on windows using chkdisk, it took a whole day and I lost some data. But after that, I can mount the disk using ntfs3. I suspect I've saved some malformed data on that disk before.
I am trying to compile MySQL 5.6 for install onto a Raspberry Pi (I need it for a geo module that wont work on 5.5, sigh...).
I am attempting it like so, at someone else's recommendation:
apt-get install build-essential debhelper devscripts debian-keyring
dget http://ftp.de.debian.org/debian/pool/main/m/mysql-5.6/mysql-5.6_5.6.19-1~exp1.dsc
cd mysql-5.6-5.6.19
dpkg-buildpackage -b
(install any missing build dependencies it compalins about)
dpkg-buildpackage -b
But, it errors on the second command:
pi#raspberrypi ~ $ dget http://ftp.de.debian.org/debian/pool/main/m/mysql-5.6/mysql-5.6_5.6.19-1~exp1.dsc
dget: retrieving http://ftp.de.debian.org/debian/pool/main/m/mysql-5.6/mysql-5.6_5.6.19-1~exp1.dsc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2703 100 2703 0 0 16084 0 --:--:-- --:--:-- --:--:-- 30715
dget: using existing mysql-5.6_5.6.19.orig.tar.gz
dget: using existing mysql-5.6_5.6.19-1~exp1.debian.tar.xz
mysql-5.6_5.6.19-1~exp1.dsc:
dscverify: mysql-5.6_5.6.19-1~exp1.dsc failed signature check:
gpg: keyblock resource `/home/pi/.gnupg/secring.gpg': file open error
gpg: Signature made Mon 21 Jul 2014 15:08:15 UTC using RSA key ID A0E7D8C3
gpg: fatal: /home/pi/.gnupg: directory does not exist!
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
Validation FAILED!!
Anyone any idea why?
I did have to abort on the first attempt due to a power cut... I think during the first or second command was being executed... could this have screwed it up at all? Any way to rectify if so?
This helps:
sudo gpg -k
Then install any missing packages that it errors on and then go for the final build/compile.
I got this same error, but my problem was that I wasn't running with elevated permissions. Once I ran the dget with sudo it worked.
So, I've tried everything I can do right now, not really getting anywhere with this, so I am turning to the guys on SO for some assistance.
System Details:
Fedora 17 x86_64
Intel® Pentium(R) Dual CPU E2160 # 1.80GHz × 2
1.9 GiB memory
KCacheGrind 0.7.1
KDE Platform Version 4.9.4
Procedure Details:
I get an XDEBUG log from the server or from a Chrome Ext called Xdebug Helper. And I run it, either directly from the icon or from a Shell Script I created.
#!/bin/bash
export $(dbus-launch)
kcachegrind
And I get an error "No Profile Data Loaded"
Any ideas?
SORRY: error reads "(No function selected)"
Forgive me. I am a n00b at Linux and KCacheGrind.
I used root. Fixed. Adding 10 or more characters.