服务器启动配置 – 通用项
程序代码: [选择]
# Admin password for creating, restoring and backing up databases
admin_passwd = admin # default CSV separator for import and export
csv_internal_sep = , # to compress reports
reportgz = False # disable loading demo data for modules to be installed (comma-separated, use "all" for all modules)
without_demo = False # Use this for big data importation, if it crashes you will be able to continue at the current state. Provide a filename to store intermediate importation states.
import_partial = # file where the server pid will be stored
pidfile = None # specify additional addons paths (separated by commas)
addons_path = /full/path/to/addons # Comma-separated list of server-wide modules default=web
server_wide_modules = None XML-RPC / HTTP – XML-RPC 配置
程序代码: [选择]
# disable the XML-RPC protocol
xmlrpc = True # Specify the TCP IP address for the XML-RPC protocol. The empty string binds to all interfaces.
xmlrpc_interface = # specify the TCP port for the XML-RPC protocol
xmlrpc_port = 8069 # Enable correct behavior when behind a reverse proxy
proxy_mode = False XML-RPC / HTTPS – XML-RPC 安全配置
程序代码: [选择]
# disable the XML-RPC Secure protocol
xmlrpcs = True # Specify the TCP IP address for the XML-RPC Secure protocol. The empty string binds to all interfaces.
xmlrpcs_interface = # specify the TCP port for the XML-RPC Secure protocol
xmlrpcs_port = 8071 # specify the certificate file for the SSL connection
secure_cert_file = server.cert # specify the private key file for the SSL connection
secure_pkey_file = server.pkey NET-RPC – NET-RPC 配置
程序代码: [选择]
# enable the NETRPC protocol
netrpc = False # specify the TCP IP address for the NETRPC protocol
netrpc_interface = # specify the TCP port for the NETRPC protocol
netrpc_port = 8070 WEB – Web 接口配置
程序代码: [选择]
# Filter listed database REGEXP
dbfilter = .* 测试群组 - 测试配置
程序代码: [选择]
# Launch a YML test file.
test_file = False # If set, will save sample of all reports in this directory.
test_report_directory = False # Enable YAML and unit tests.
test_enable = False # Commit database changes performed by YAML or XML tests.
test_commit = False 日志群组 - 日志配置
程序代码: [选择]
# file where the server log will be stored
logfile = None # do not rotate the logfile
logrotate = True # Send the log to the syslog server
syslog = False # setup a handler at LEVEL for a given PREFIX. An empty PREFIX indicates the root logger. This option can be repeated. Example: "openerp.orm:DEBUG" or "werkzeug:CRITICAL" (default: ":INFO")
log_handler = [':INFO'] # specify the level of the logging. Accepted values: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer, notset
log_level = info SMTP Group – SMTP 配置
程序代码: [选择]
# specify the SMTP email address for sending email
email_from = False # specify the SMTP server for sending email
smtp_server = localhost # specify the SMTP port
smtp_port = 25 # specify the SMTP server support SSL or not
smtp_ssl = False # specify the SMTP username for sending email
smtp_user = False # specify the SMTP password for sending email
smtp_password = False 数据库相关配置
程序代码: [选择]
# specify the database name
db_name = False # specify the database user name
db_user = openerp # specify the database password
db_password = False # specify the pg executable path
pg_path = None # specify the database host
db_host = False # specify the database port
db_port = False # specify the the maximum number of physical connections to posgresql
db_maxconn = 64 # specify a custom database template to create a new database
db_template = template1 国际化选项
程序代码: [选择]
translate_modules = ['all'] 安全相关选项
程序代码: [选择]
# disable the ability to return the list of databases
list_db = True 高级选项
程序代码: [选择]
# enable debug mode
debug_mode = False # specify reference timezone for the server (e.g. Europe/Brussels")
timezone = False # Force a limit on the maximum number of records kept in the virtual osv_memory tables. The default is False, which means no count-based limit.
osv_memory_count_limit = False # Force a limit on the maximum age of records kept in the virtual osv_memory tables. This is a decimal value expressed in hours, and the default is 1 hour.
osv_memory_age_limit = 1.0 # Maximum number of threads processing concurrently cron jobs (default 2)
max_cron_threads = 2 # Use the unaccent function provided by the database when available.
unaccent = False 多处理选项
程序代码: [选择]
# Specify the number of workers, 0 disable prefork mode.
workers = 0 # Maximum allowed virtual memory per worker, when reached the worker be reset after the current request (default 671088640 aka 640MB)
limit_memory_soft = 671088640 # Maximum allowed virtual memory per worker, when reached, any memory allocation will fail (default 805306368 aka 768MB)
limit_memory_hard = 805306368 # Maximum allowed CPU time per request (default 60)
limit_time_cpu = 60 # Maximum allowed Real time per request (default 120)
limit_time_real = 120 # Maximum number of request to be processed per worker (default 8192)
limit_request = 8192 更多选项
程序代码: [选择]
server/openerp/tools/config.py

OpenERP 7中 openerp-server.conf 的解释的更多相关文章

  1. tomcat的配置文件server.conf中的元素的理解

    tomcat的配置文件server.conf中的元素的理解 tomcat作为一个servlet服务器本身的配置文件是tomcat_home/conf/server.conf,这个配置文件中有很多元素, ...

  2. 使用xml-rpc调试openerp模块中的函数

    运行openerp模块中的函数 有很多方式, 可以在视图中加个按钮然后点击它, 也可以在集成开发环境中强制执行它. 不过, 用python写个小脚本,xml-rpc调用直接执行它, 无疑是最简便的方法 ...

  3. vue-cli脚手架build目录中的karma.conf.js配置文件

    本文系统讲解vue-cli脚手架build目录中的karma.conf.js配置文件 这个配置文件是命令 npm run unit 的入口配置文件,主要用于单元测试 这条命令的内容如下 "c ...

  4. /etc/sysctl.conf参数解释

    /etc/sysctl.conf参数解释: fs.file max = 999999 #表示进程(例如一个worker进程)可能同时打开的最大句柄数,直接限制最大并发连接数 net.ipv4.tcp_ ...

  5. tomcat配置文件server.xml具体解释

    元素名 属性 解释 server port 指定一个port,这个port负责监听关闭tomcat 的请求 shutdown 指定向port发送的命令字符串 service name 指定servic ...

  6. SQL Server错误代码及解释(留着备用)

    原文:SQL Server错误代码及解释(留着备用) 转自:http://www.ajia.me/Article/193.html Code Error Message 0 操作成功完成.  1 功能 ...

  7. Java进阶(十五)Java中设置session的详细解释

    Java中设置session的详细解释 简单通俗的讲session就是象一个临时的容器,用来存放临时的东西.从你登陆开始就保存在session里,当然你可以自己设置它的有效时间和页面,举个简单的例子: ...

  8. 修改tomcat的Response Hearder 头中的Server信息

    如图: Server: Apache-Coyote/1.1 这个信息给入侵者提供了一定的指示作用.为了安全起见,要求更改这个信息.那么我们就来修改一下试试,非常简单,只要在Connector中添加se ...

  9. 使用clr 调用C#编写的dll中的方法的全解释

    使用clr 调用C#编写的dll中的方法的全解释1.数据库初始化:将下面这段代码直接在运行就可以初始化数据库了exec sp_configure 'show advanced options', '1 ...

  10. SQL Server 存储过程具体解释

    SQL Server 存储过程具体解释 存储过程的优缺点 ◆长处: 运行速度更快. 存储过程仅仅在创造时进行编译,而一般SQL语句每运行一次就编译一次,所以使用存储过程运行速度更快. 存储过程用于处理 ...

随机推荐

  1. 获得assets文件夹中文件内容

    /** * @param fileName * @return assets中文件的字符串 */ public String getFromAssets(Context context, String ...

  2. 《Java性能优化权威指南》

    <Java性能优化权威指南> 基本信息 原书名:Java performance 原出版社: Addison-Wesley Professional 作者: (美)Charlie Hunt ...

  3. 【Codeforces】【#295】【Div.1】

    嘛,一直以来蒟蒻都没怎么打过CF……现在还是蓝名狗……今天跟着zyf打了一场virtual,果断一题滚粗

  4. %date~0,4%和 %time~0,2%等用法详解(转)

    比如在windowscmd命令行窗口执行date命令后这个环境变量的值为当前日期:2014-09-01 星期六 或2014/09/01 周六那么如下的各个操作的意义如下:%date:~0,4% 表示从 ...

  5. Ajax 中正常使用jquery-easyui (转)

    一.ASP.NET Ajax 页面中应用了 jquery-easyui,当页面进行回发操作后只是局部刷新,原本的EASYUI 样式无法生效.解决这个问题的思路是让页面在回发后重新调用EASYUI进行重 ...

  6. 【Error】centos7 minimal connect: Network is unreachable

    参考链接:http://www.centoscn.com/CentosBug/osbug/2015/1208/6500.html 由于centos7 和之前的版本差异比较大,之前的一些命令不能完全使用 ...

  7. Elasticsearch 入门教程

    全文搜索属于最常见的需求,开源的 Elasticsearch (以下简称 Elastic)是目前全文搜索引擎的首选. 它可以快速地储存.搜索和分析海量数据.维基百科.Stack Overflow.Gi ...

  8. oracle常用& to_date()怎么转换带am pm的时间格式

    Oracle一.字符函数--大小写转换函数1.LOWER (strexp)    返回字符串,并将所有的字符小写. select lower('ABCDE') from dual --输出empbai ...

  9. linux下性能分析命令[总结]

    1.前言 在linux下开发程序,为了追求高性能,经常需要测试程序的性能,包括cpu.内存.io.网络等等使用情况.liunx下提供了众多命令方便查看各种资源的使用情况.经常用的有ps.top.fre ...

  10. php命名空间的使用,同一个命名空间可以在多个文件中定义

    php namespace的使用,直接打印出已经定义的命名空间 直接上代码,a.php , b.php, c.php , main.php a.php <?php namespace A{ cl ...