arcsde10 postgresql8.3 服务停止问题
---恢复内容开始---
arcsde10 安装在windows server2008 R2 X64 上。
从.gdb文件数据库 拷贝40W多的数据到ArcSDE ,然后postgresql就停止了,arcsde服务还没停止。真是够呛的。
到底是为什么啊?我先看看postgresql的日志吧:
pg的日志文件位于:C:\Program Files (x86)\PostgreSQL\8.3\data\pg_log
打开里现在最近的那个:这个是刚刚开启服务的
2013-08-05 17:33:45 HKT LOG: database system was interrupted; last known up at 2013-08-05 17:27:08 HKT
2013-08-05 17:33:45 HKT LOG: database system was not properly shut down; automatic recovery in progress
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT LOG: redo starts at 2/3D3C9FB8
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: record with zero length at 2/3DFBDFA0
2013-08-05 17:33:45 HKT LOG: redo done at 2/3DFBDF70
2013-08-05 17:33:45 HKT LOG: last completed transaction was at log time 2013-08-05 17:31:09.121+08
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: database system is ready to accept connections
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: autovacuum launcher started
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183466
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183469
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:47 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:33:47 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
2013-08-05 17:34:01 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:36:29 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:36:29 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
刚开启服务,里面就有 ERROR的错误,这不是FATAL错误,就没关系。
看看出现FATAL错误的这个日志:
2013-08-05 17:30:04 HKT ERROR: relation "sde.sde_logfiles" does not exist
2013-08-05 17:30:04 HKT STATEMENT: SELECT logfile_name, logfile_id, logfile_data_id, registration_id, flags, session_tag, column_name, logfile_data_db, logfile_data_owner, logfile_data_table FROM sde.sde.sde_logfiles WHERE flags%2 = 0
2013-08-05 17:30:13 HKT ERROR: relation "sde.pnamehenan_none" does not exist
2013-08-05 17:30:13 HKT STATEMENT: select sde.sde.pnamehenan_none.* from sde.sde.PNamehenan_none
2013-08-05 17:30:13 HKT ERROR: index "r178_sde_rowid_uk" does not exist
2013-08-05 17:30:13 HKT STATEMENT: drop index sde.r178_sde_rowid_uk
2013-08-05 17:30:13 HKT ERROR: function sde.sde.i178_get_ids(integer, integer) does not exist at character 8
2013-08-05 17:30:13 HKT HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2013-08-05 17:30:13 HKT STATEMENT: SELECT sde.sde.i178_get_ids ($1,$2)
2013-08-05 17:30:13 HKT NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "i178_pk" for table "i178"
2013-08-05 17:30:13 HKT ERROR: column "shape" does not exist at character 52
2013-08-05 17:30:13 HKT STATEMENT: SELECT COUNT(*) FROM sde.sde.pnamehenan_none WHERE Shape IS NOT NULL
2013-08-05 17:31:09 HKT LOG: server process (PID 5688) was terminated by exception 0xC0000005
2013-08-05 17:31:09 HKT HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
2013-08-05 17:31:09 HKT LOG: terminating any other active server processes
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:31:09 HKT FATAL: the database system is in recovery mode
2013-08-05 17:31:09 HKT LOG: all server processes terminated; reinitializing
2013-08-05 17:31:19 HKT FATAL: pre-existing shared memory block is still in use
2013-08-05 17:31:19 HKT HINT: Check if there are any old server processes still running, and terminate them.
在ntstatus.h中,有一行:
#define STATUS_ACCESS_VIOLATION ((NTSTATUS)0xC0000005L) // winnt
就是这个错误了。尼玛,查了一下 这就是段错误(segmentation fault)啊。PostGreSQL居然段错误停止了。。不过我安装的arcsde10 for windows自带的pg,8.3不是最新版本的PostGreSQL。可能新版本解决了bug呢。8.x最新的是8.4 我试试?应该可以安全升级才是的。9.x的估计与8.x的相差很大。
---恢复内容结束---
arcsde10 安装在windows server2008 R2 X64 上。
从.gdb文件数据库 拷贝40W多的数据到ArcSDE ,然后postgresql就停止了,arcsde服务还没停止。真是够呛的。
到底是为什么啊?我先看看postgresql的日志吧:
pg的日志文件位于:C:\Program Files (x86)\PostgreSQL\8.3\data\pg_log
打开里现在最近的那个:这个是刚刚开启服务的
2013-08-05 17:33:45 HKT LOG: database system was interrupted; last known up at 2013-08-05 17:27:08 HKT
2013-08-05 17:33:45 HKT LOG: database system was not properly shut down; automatic recovery in progress
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT LOG: redo starts at 2/3D3C9FB8
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: record with zero length at 2/3DFBDFA0
2013-08-05 17:33:45 HKT LOG: redo done at 2/3DFBDF70
2013-08-05 17:33:45 HKT LOG: last completed transaction was at log time 2013-08-05 17:31:09.121+08
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: database system is ready to accept connections
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: autovacuum launcher started
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183466
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183469
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:47 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:33:47 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
2013-08-05 17:34:01 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:36:29 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:36:29 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
刚开启服务,里面就有 ERROR的错误,这不是FATAL错误,就没关系。
看看出现FATAL错误的这个日志:
2013-08-05 17:30:04 HKT ERROR: relation "sde.sde_logfiles" does not exist
2013-08-05 17:30:04 HKT STATEMENT: SELECT logfile_name, logfile_id, logfile_data_id, registration_id, flags, session_tag, column_name, logfile_data_db, logfile_data_owner, logfile_data_table FROM sde.sde.sde_logfiles WHERE flags%2 = 0
2013-08-05 17:30:13 HKT ERROR: relation "sde.pnamehenan_none" does not exist
2013-08-05 17:30:13 HKT STATEMENT: select sde.sde.pnamehenan_none.* from sde.sde.PNamehenan_none
2013-08-05 17:30:13 HKT ERROR: index "r178_sde_rowid_uk" does not exist
2013-08-05 17:30:13 HKT STATEMENT: drop index sde.r178_sde_rowid_uk
2013-08-05 17:30:13 HKT ERROR: function sde.sde.i178_get_ids(integer, integer) does not exist at character 8
2013-08-05 17:30:13 HKT HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2013-08-05 17:30:13 HKT STATEMENT: SELECT sde.sde.i178_get_ids ($1,$2)
2013-08-05 17:30:13 HKT NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "i178_pk" for table "i178"
2013-08-05 17:30:13 HKT ERROR: column "shape" does not exist at character 52
2013-08-05 17:30:13 HKT STATEMENT: SELECT COUNT(*) FROM sde.sde.pnamehenan_none WHERE Shape IS NOT NULL
2013-08-05 17:31:09 HKT LOG: server process (PID 5688) was terminated by exception 0xC0000005
2013-08-05 17:31:09 HKT HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
2013-08-05 17:31:09 HKT LOG: terminating any other active server processes
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:31:09 HKT FATAL: the database system is in recovery mode
2013-08-05 17:31:09 HKT LOG: all server processes terminated; reinitializing
2013-08-05 17:31:19 HKT FATAL: pre-existing shared memory block is still in use
2013-08-05 17:31:19 HKT HINT: Check if there are any old server processes still running, and terminate them.
在ntstatus.h中,有一行:
#define STATUS_ACCESS_VIOLATION ((NTSTATUS)0xC0000005L) // winnt
就是这个错误了。尼玛,查了一下 这就是段错误(segmentation fault)啊。PostGreSQL居然段错误停止了。。不过我安装的arcsde10 for windows自带的pg,8.3不是最新版本的PostGreSQL。可能新版本解决了bug呢。8.x最新的是8.4 我试试?应该可以安全升级才是的。9.x的估计与8.x的相差很大。
------------------------------------------------------
安装好了 ArcSDE SP1 补丁后,这个问题算是解决了,顺便把 SP2-SP5 都安装了。要顺序安装,SP5 不包括SP1 的内容的。
SP补丁下载地址:
http://support.esrichina.com.cn/support/download/ServicePack/
http://support.esri.com/en/downloads/patches-servicepacks/list/productid/66
其中ArcSDE SP1-5 所有补丁 解决的问题列表有:
http://gisupdates.esri.com/10sp5/ArcSDE/ArcSDE10sp5-issues.htm
arcsde10 postgresql8.3 服务停止问题的更多相关文章
- C#操作注册服务卸载服务启动服务停止服务.. .
using Microsoft.Win32; using System; using System.Collections; using System.Collections.Generic; usi ...
- 监控windows服务,当服务停止后自动重启服务
近期花时间研究了一下windows和linux下某服务停了后自动重启的功能,在网上收集了些资料,并经过测试,在此整理一下.这里介绍的是windows服务的监控,是通过批处理来实现的.本例是监控wind ...
- 启动和启动和停止MySQL服务停止MySQL服务
1. 启动MySQL服务 启动MySQL服务的命令为: /etc/init.d/mysqld start 命令执行后如图7-5所示,表示启动MySQL服务成功. (点击查看大图)图7-5 启动 ...
- Nginx+Keepalived主备切换(包含nginx服务停止)
原文地址:http://blog.sina.com.cn/s/blog_79ac6aa80101bmed.html Nginx+Keepalived主备切换(包含nginx服务停止) 环境: VM中4 ...
- 子线程导致 Windows 服务停止的情况(Topshelf 结合 Quartz.NET)
Ø 前言 本文主要记录子线程导致 Topshelf 和 Quartz.NET 的 Windows 服务停止的现象,以及使用几种常用子线程的注意事项.因为我们有时可能需要开启多个线程执行复杂的逻辑,如 ...
- mysql服务停止
mysql链接方式分为 tcp链接和 sock链接, 你刚才看到服务停止了还能链接 那种会员是 sock的会话模式 所以需要把所有链接mysql的进程结束掉,才能启动起来的 windows ...
- 因Window服务器自动更新并重启导致WebSphere服务停止服务故障一例
最近公司购买了两台Windows Server 2008 R2服务器用于提供提供Web服务,A机器安装了IHS+DM+WAS8.5集群,B机器安装了Oracle11gR2用于数据存储,两台机器均可连接 ...
- Redis服务停止报错解决方案[NOAUTH Authentication required]
Redis服务器设置密码后,使用service redis stop 会出现以下信息: service redis stop Stopping ... OK (error) NOAUTH Authen ...
- C#管理服务停止启动
由于机器性能问题,把许多服务关闭了,需要用的时候再开启,这样每次都打开服务管理或cmd命令比较麻烦.就自己写了工具显示在桌面上; 声明:ServiceController myController = ...
随机推荐
- js冲刺一下
js中__proto__和prototype的区别和关系 1.对象有属性__proto__,指向该对象的构造函数的原型对象. 2.方法除了有属性__proto__,还有属性prototype,prot ...
- [转]Splay算法
首先声明,本教程的对象是完全没有接触过splay的OIer,大牛请右上角. 先看一道题目: skydec有n个数,每次他都会把一些数放进一些盒子里,由于skydec太傻×,所以他不能判断数的大小,现在 ...
- css样式大全整理
字体属性:(font) 大小 {font-size: x-large;}(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX.PD 样式 {font-style: obl ...
- 【Ray Tracing in One Weekend 超详解】 光线追踪1-9 景深
今天我们来学最后一章 Chapter11:Defocus Blur Preface 散焦模糊 也称 景深 首先,我们来了解一下散焦模糊,我们在真实相机中散焦模糊的原因是因为它们需要一个大圈(而不仅仅是 ...
- 安装redis出现的问题
这个问题是我在腾讯云上安装redis时出现的错误, 1.在执行make命令时出现的错误 解决方案,没有安装gcc 什么是gcc: GCC是一个用于linux系统下编程的编译器是一个用于编程开发的自由编 ...
- 决策树ID3算法--python实现
参考: 统计学习方法>第五章决策树] http://pan.baidu.com/s/1hrTscza 决策树的python实现 有完整程序 决策树(ID3.C4.5.CART ...
- C#开发Unity游戏教程之Unity中方法的参数
C#开发Unity游戏教程之Unity中方法的参数 Unity的方法的参数 出现在脚本中的方法,无论是在定义的时候,还是使用的时候,后面都跟着一对括号“( )”,有意义吗?看起来最多也就是起个快速识别 ...
- ARP协议详解之ARP动态与静态条目的生命周期
ARP协议详解之ARP动态与静态条目的生命周期 ARP动态条目的生命周期 动态条目随时间推移自动添加和删除. q 每个动态ARP缓存条目默认的生命周期是两分钟.当超过两分钟,该条目会被删掉.所以,生 ...
- django权限管理
当我们为应用创建一个Models, 在同步到数据库里,django默认给了三个权限 ,就是 add, change, delete权限. 首先,我们创建一个perm_test的project, 然后再 ...
- NOIP 2013 转圈游戏
[题目描述] n个小伙伴(编号从 0 到 n−1)围坐一圈玩游戏.按照顺时针方向给 n 个位置编号,从 0 到 n−1.最初,第 0 号小伙伴在第 0 号位置,第 1 号小伙伴在第 1 号位置,……, ...