• Trong thời gian này, bạn không thể tạo bài mới, đăng comment, hay tạo tài nguyên mới để diễn đàn dọn dẹp nội dung.
    Diễn đàn sẽ sớm mở trở lại, chi tiết hãy theo dõi tại Discord
Trần Anh Tiên

Hỏi đáp Lỗi Spam console dẫn đến sập Server

Xin chào, mình có đang làm 1 server và xuất hiện 1 lỗi dẫn đến spam console và sập server. Mình sẽ gửi thêm log và hình ảnh.
Mình sẽ phổ biến thêm như sau:
Vào 2 tuần trước Mình có add 2 world chính và rất ổn không có gì bất thường cho đến hôm nay mình add thêm 1 world thứ ba thì nó xảy ra các tình trạng lỗi như mình nói: Thật sự rất bất lực và cần ai đó giúp. Mình xin cảm ơn trước ạ
Vấn đề tiếp theo là về itemsadder không biết lí do tại sao khi mình add những model vũ khí thì nó lại bị spam, vấn đề mình tìm ra được là sử dụng các thứ chạy nhanh hơn bình thường thì nó bị như thế

File Log: https://drive.google.com/file/d/1e79cIBSwbd-BaBNtC0ic7tPTcLk-gzvs/view?usp=sharing
 

Đính kèm

  • image.png
    image.png
    137.6 KB · Lượt xem: 59
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached

xem lại ram , heap , cpu
 
vào ajleaderboard tìm config fix dòng này nhé, sửa thành 16

YAML:
# What maximum number of threads should ajLeaderboards be allowed to use for fetching from the db?
# Most of the time, the number of threads used will be far less than this.
# This is ignored on mysql (and maxConnections is used for this instead)
# Lower this if you get the message "unable to create native thread: possibly out of memory or process/resource limits reached"
# I would __not__ recommend setting this below 16.
# Requires a server restart to change
#  Default: 70
max-fetching-threads: 16
 
vào ajleaderboard tìm config fix dòng này nhé, sửa thành 16

YAML:
# What maximum number of threads should ajLeaderboards be allowed to use for fetching from the db?
# Most of the time, the number of threads used will be far less than this.
# This is ignored on mysql (and maxConnections is used for this instead)
# Lower this if you get the message "unable to create native thread: possibly out of memory or process/resource limits reached"
# I would __not__ recommend setting this below 16.
# Requires a server restart to change
#  Default: 70
max-fetching-threads: 16
E cảm ơn. Nhưng cho e hỏi là cái này có tác dụng gì nhỉ
 
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached

xem lại ram , heap , cpu
tất cả đều ổn, có 1 lí do gì xung đột với làm cho tụi nó bị đẩy lên cao thành ra bị tràn ram nhưng k tìm được nguyên nhân
 
Nội dung tương tự Xem nhiều nhất Xem thêm

Thống kê nội dung

Tạo
Trần Anh Tiên,
Trả lời lần cuối từ
Trần Anh Tiên,
Trả lời
4
Lượt xem
468
Quay lại
Trên cùng