Kruzya opened 2 years ago
|
|||||
Please increase the memory to 2G to see if it works. If CPU is still 100%, please login to the docker container and get the stack trace by running:
|
|||||
Increased RAM to 2GB, restarted VM and looks like it not helped. CPU continue be loaded on 100%, but i noticed strange behavior: before any request to web, OneDev loads only one CPU core. When i try perform request, it starts load 2 CPU core. Found |
|||||
My mistake. jstack is not available in onedev image, please login to the container and install openjdk to get jstack:
This command needs to run inside container. |
|||||
Uploaded to Pastebin. It does not fit here by the number of characters |
|||||
This is a bug of Hibernate library used by OneDev: https://hibernate.atlassian.net/browse/HHH-13664 To solve the issue, please make sure the system time is not set back in the past. |
|||||
As I said previously, my time is set correctly. But on VMs set different time zones: on VM with PostgreSQL set my real timezone (GMT+4), on VM with OneDev - UTC. Different timezones may be the reason of this behavior? I will try change timezone on VM with OneDev. Looks like it helped: OneDev stopped loading CPU on 100% since start. Solved 🤦 |
|||||
As I understand, OneDev writes current time in DB via PostgreSQL functions, which return the current time according to the timezone. It is possible use UTC time in this cases and allow admin set required for displaying timezone in options? |
|||||
I guess you want to show time in your local timezone? If so, please watch this issue: |
|||||
OneDev changed state to 'Closed' 2 years ago
|
|||||
State changed as code fixing the issue is committed |
|||||
OneDev changed state to 'Released' 2 years ago
|
|||||
State changed as build #2645 is successful |
|||||
The 7.1.4 version should work fine even if you are using different timezone for OneDev. |
|||||
Yes, it fixed, thanks! |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Affected Versions |
Not Found
|
After update to v7.0.3, my OneDev installation started load CPU to 100%. Also response time is greatly increased (i can wait load index page (with projects) 2 minutes).
I tried yesterday update to v7.1.2, but this don't helped. My environment:
OneDev VM:
PostgreSQL VM:
Also when this problem started, i see this error periodically:
Time on servers is set correctly.