Server went crazy

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Somehow server got into CPU consuming state. I checked the log and found this

Quote
25:13.395002-0,EXCP,0,process=rmngr,setUnhandledExceptionFilter=setUnhandledExceptionFilter
25:13.395004-0,PROC,1,process=rmngr,Err=0,Txt=1C:Enterprise 8.3 (8.3.10.2561) Cluster Manager started. Ctrl+C to exit.
25:13.817000-0,EXCP,0,process=rmngr,Exception=9db1fa37-b455-4f3f-b8dd-7de0ea7d6da3,Descr="src\ClusterDistribImpl.cpp(2020):
9db1fa37-b455-4f3f-b8dd-7de0ea7d6da3: File shared access error 'C:\Program Files (x86)\1cv8\srvinfo\reg_1541\1CV8Clsto.lst'. 32(0x00000020): The process cannot access the file because it is being used by another process. : src\files.cpp(426): 32(0x00000020): The process cannot access the file because it is being used by another process. "
25:13.817001-0,EXCP,0,process=rmngr,Exception=e88a796d-7758-48a7-9ba7-781e269e9aa4,Descr='src\ClusterRegistryImpl.cpp(2480):
e88a796d-7758-48a7-9ba7-781e269e9aa4: Stream format error'
25:13.817002-0,EXCP,0,process=rmngr,Exception=e88a796d-7758-48a7-9ba7-781e269e9aa4,Descr='src\ClusterRegistryImpl.cpp(2480):
e88a796d-7758-48a7-9ba7-781e269e9aa4: Stream format error'
25:13.817003-0,EXCP,0,process=rmngr,Exception=e88a796d-7758-48a7-9ba7-781e269e9aa4,Descr='src\ClusterRegistryImpl.cpp(2480):

And repeated stream error...

So I decided to delete the file because restarting was not helpful it all. It started fine.. but now it does not accept connections.

It is important to mention that this problem happened after the license get lost. But I think it is more of a coincidence.

p.s attached logs
p.p.s. Deleted file only had empty lines so it probably was corrupted

Download logs.rar (44.02 KB)
Edited: Alexey Gerasimov - Oct 11, 2017 11:39 PM
 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Nov 10, 2015
Company: Clever Business Solutions

You can try changing server port numbers. +1000
Ex: -regport 2541 -port 2540 -range 2560:2591

 
#3
People who like this:0Yes/0No
Active user
1C:Professional
Rating: 6
Joined: May 8, 2013
Company: 1C Company

Hello Alexey,

1. "Somehow server got into CPU consuming state"

Did you check what process was consuming CPU the most? How high was the consumption?

2. Log files you attached doesn't contain error messages you mention. Can you send me log files containing the errors?

3. "So I decided to delete the file because restarting was not helpful it all"

Did you delete 1CV8Clsto.lst file? How did it go? Was there any messages about shared access violation during the deletion?

4. "Deleted file only had empty lines so it probably was corrupted"

1CV8Clsto.lst is a cluster registry file. If the cluster works this file should never be empty. Looks like you need to reinstall the platform.

 
#4
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Quote
Konstantin Rupasov wrote:
Did you check what process was consuming CPU the most? How high was the consumption?
rmngr
Quote
Konstantin Rupasov wrote:
2. Log files you attached doesn't contain error messages you mention. Can you send me log files containing the errors?
Please pay attention to my first message :)
Quote
Konstantin Rupasov wrote:
Did you delete 1CV8Clsto.lst file? How did it go? Was there any messages about shared access violation during the deletion?
Well, I had to stop it
Quote
Konstantin Rupasov wrote:
1CV8Clsto.lst is a cluster registry file. If the cluster works this file should never be empty. Looks like you need to reinstall the platform.
Do yo have some manual about file structure. I want to implement some utility to reconstruct the cluster in the case of failure.

p.s Glad to hear you

 
#5
People who like this:0Yes/0No
Active user
1C:Professional
Rating: 6
Joined: May 8, 2013
Company: 1C Company

Quote
Alexey Gerasimov wrote:
Do yo have some manual about file structure. I want to implement some utility to reconstruct the cluster in the case of failure.

See Administrator Guide, Appendix 3, SERVICE FILES DESCRIPTION AND LOCATION.

 
#6
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Quote
Konstantin Rupasov wrote:
See Administrator Guide, Appendix 3, SERVICE FILES DESCRIPTION AND LOCATION.

This is all i can find
Quote
3.7. 1CV8CLST.LST
This file is located in the data directory of each working server marked as a central
server.
The file includes the cluster register and the following information:
„ list of infobases recorded in this cluster
„ list of working servers forming the cluster
„ list of work processes forming the cluster
„ list of cluster managers
„ list of cluster services
„ list of cluster administrators
Example:
C:\Program Files\1cv8\srvinfo\reg_1541\1CV8Clst.lst

It is not enough to reconstruct the file

 
#7
People who like this:0Yes/0No
Active user
1C:Professional
Rating: 6
Joined: May 8, 2013
Company: 1C Company

The only legit way of reconstructing this file is to rebuild the cluster using system tools. In this case I'd recommend to run Administrator Console (1CV8 Servers.msc), delete the cluster and recreate it from scratch. We DO NOT recommend a manual editing of any system files including 1CV8CLST.LST.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.